/*
    Main Stylesheet
    ---
    Owner: ReservationSaaS
    Author: Gemini AI
    Date: 2025-06-23
*/

/* CSS Variables for unified color palette */
:root {
    --primary-color: #4a6fa5;
    --primary-light: #5a7bb8;
    --primary-lighter: #6b87cb;
    --primary-lightest: #7c93de;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
    --light-color: #f8f9fa;
    --dark-color: #212529;
}

/* General Styles */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Poppins', sans-serif;
}

main {
    flex: 1;
}

/* Card Styles */
.card {
    transition: box-shadow 0.3s ease;
    margin-bottom: 1rem;
}

.card:hover {
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* Form Styles */
.form-control:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

/* Button Styles */
.btn {
    border-radius: 0.375rem !important;
    padding: 8px 20px;
    font-weight: 500;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    text-align: center !important;
    vertical-align: middle;
    user-select: none;
    line-height: 1.5;
    color: inherit !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.btn:not(:disabled):not(.disabled) {
    opacity: 1;
    visibility: visible;
}

.btn-lg {
    padding: 12px 30px;
    font-size: 1rem;
}

.btn-sm {
    padding: 4px 8px;
    font-size: 0.875rem;
    line-height: 1.4;
    white-space: nowrap;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: inherit !important;
    opacity: 1 !important;
    visibility: visible !important;
    min-width: 60px;
}

.btn-sm i {
    margin-right: 0;
    font-size: 0.8rem;
    text-align: center;
}

/* Card footer button specific styles */
.card-footer .btn-sm {
    min-width: 70px;
    padding: 4px 8px 4px 6px;
    justify-content: center;
}

/* Button color overrides for unified theme */
.btn-primary {
    background: var(--primary-color, #0d6efd);
    border-color: var(--primary-color, #0d6efd);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-light, #0b5ed7);
    border-color: var(--primary-light, #0b5ed7);
    color: white;
}

.btn-success {
    background: var(--primary-light, #198754);
    border-color: var(--primary-light, #198754);
    color: white;
}

.btn-success:hover {
    background: var(--primary-color, #157347);
    border-color: var(--primary-color, #157347);
    color: white;
}

.btn-warning {
    background: var(--primary-lighter, #ffc107);
    border-color: var(--primary-lighter, #ffc107);
    color: #000;
}

.btn-warning:hover {
    background: var(--primary-light, #ffca2c);
    border-color: var(--primary-light, #ffca2c);
    color: #000;
}

.btn-info {
    background: var(--primary-lightest, #0dcaf0);
    border-color: var(--primary-lightest, #0dcaf0);
    color: #000;
}

.btn-info:hover {
    background: var(--primary-lighter, #31d2f2);
    border-color: var(--primary-lighter, #31d2f2);
    color: #000;
}

.btn-outline-primary {
    color: var(--primary-color, #0d6efd);
    border-color: var(--primary-color, #0d6efd);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color, #0d6efd);
    border-color: var(--primary-color, #0d6efd);
    color: white;
}

.btn-outline-secondary {
    color: #6c757d;
    border-color: #6c757d;
    background: transparent;
}

.btn-outline-secondary:hover {
    background: #6c757d;
    border-color: #6c757d;
    color: white;
}

.btn-outline-light {
    color: #f8f9fa;
    border-color: #f8f9fa;
    background: transparent;
}

.btn-outline-light:hover {
    background: #f8f9fa;
    border-color: #f8f9fa;
    color: #000;
}

.btn-light {
    background: #f8f9fa;
    border-color: #f8f9fa;
    color: #000;
}

.btn-light:hover {
    background: #e9ecef;
    border-color: #e9ecef;
    color: #000;
}

/* Ensure buttons are visible in forms and cards */
.card .btn,
.form .btn,
.login-container .btn,
.logout-container .btn {
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-block !important;
    position: relative !important;
    z-index: 1 !important;
}

/* Force button visibility */
.btn {
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-block !important;
}

/* Ensure button text is visible */
.btn * {
    color: inherit !important;
}

/* Specific styles for login/logout pages */
.login-container .btn,
.logout-container .btn {
    width: 100%;
    margin-bottom: 0.5rem;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 500;
    border: 2px solid;
    transition: all 0.3s ease;
}

.login-container .btn:hover,
.logout-container .btn:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Hero section buttons - Redesigned to match text colors */
html body .hero-section .btn,
html body .hero-section button.btn,
html body .hero-section a.btn,
html body .hero-section input[type="submit"].btn,
html body .hero-section input[type="button"].btn {
    margin: 0.5rem !important;
    padding: 12px 30px !important;
    font-size: 1rem !important;
    font-weight: 400 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    border-radius: 6px !important;
    transition: all 0.3s ease !important;
    border: 2px solid white !important;
    color: white !important;
    background: transparent !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-block !important;
    position: relative !important;
    z-index: 9999 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    text-decoration: none !important;
    line-height: 1.5 !important;
    user-select: none !important;
    text-align: center !important;
    vertical-align: middle !important;
}

html body .hero-section .btn:hover,
html body .hero-section button.btn:hover,
html body .hero-section a.btn:hover,
html body .hero-section input[type="submit"].btn:hover,
html body .hero-section input[type="button"].btn:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    border-color: white !important;
}

/* Primary button - Simple white border and text */
html body .hero-section .btn-primary,
html body .hero-section button.btn-primary,
html body .hero-section a.btn-primary,
html body .hero-section input[type="submit"].btn-primary,
html body .hero-section input[type="button"].btn-primary {
    background: transparent !important;
    border: 2px solid white !important;
    color: white !important;
}

html body .hero-section .btn-primary:hover,
html body .hero-section button.btn-primary:hover,
html body .hero-section a.btn-primary:hover,
html body .hero-section input[type="submit"].btn-primary:hover,
html body .hero-section input[type="button"].btn-primary:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: white !important;
    color: white !important;
}

/* Outline button - Simple white border and text */
html body .hero-section .btn-outline-light,
html body .hero-section button.btn-outline-light,
html body .hero-section a.btn-outline-light,
html body .hero-section input[type="submit"].btn-outline-light,
html body .hero-section input[type="button"].btn-outline-light {
    background: transparent !important;
    border: 2px solid white !important;
    color: white !important;
}

html body .hero-section .btn-outline-light:hover,
html body .hero-section button.btn-outline-light:hover,
html body .hero-section a.btn-outline-light:hover,
html body .hero-section input[type="submit"].btn-outline-light:hover,
html body .hero-section input[type="button"].btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: white !important;
    color: white !important;
}

/* Pricing section buttons */
#pricing .btn {
    margin-top: 1rem;
    padding: 12px 24px;
    font-weight: 500;
}

/* Final CTA buttons */
.final-cta .btn {
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0.5rem;
}

/* Footer Styles */
.footer {
    margin-top: auto;
    background-color: #f8f9fa;
    padding: 1rem 0;
}

/* Navigation Styles */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

/* Alert Styles */
.alert {
    margin-bottom: 1rem;
    border-radius: 0.375rem !important;
}

.alert-dismissible .btn-close {
    border-radius: 0.375rem !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Testimonials carousel controls: keep away from text */
/* (Removed testimonial control bar styles) */

/* --- Helper Classes --- */
.fw-bold {
    font-weight: 700 !important;
}

/* --- Hero Section --- */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url('../images/hair_salon_2.jpeg');
    background-size: cover;
    background-position: center;
    padding: 54px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    display: none; /* Disabling old animation */
}

/* --- Phone Mockup for Hero Animation --- */
.phone-mockup {
    position: relative;
    max-width: 280px;
    margin: auto;
    background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
    border-radius: 25px;
    padding: 8px;
    box-shadow: 
        0 25px 50px rgba(0,0,0,0.4),
        0 0 0 2px #333,
        inset 0 2px 4px rgba(255,255,255,0.1);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s ease;
}

.phone-mockup:hover {
    transform: perspective(1000px) rotateY(-2deg) rotateX(2deg) scale(1.02);
}

/* Phone details */
.phone-mockup::before {
    content: '';
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #333;
    border-radius: 2px;
    z-index: 10;
}

.phone-mockup::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: #333;
    border-radius: 50%;
    border: 2px solid #444;
    z-index: 10;
}

.phone-screen {
    background: #E5DDD5;
    background-image: url('https://i.pinimg.com/originals/85/70/f6/8570f695914b14371d3a51a89c314088.jpg');
    background-size: cover;
    height: 480px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.phone-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%, rgba(0,0,0,0.1) 100%);
    pointer-events: none;
    border-radius: 20px;
}

/* Phone status bar */
.phone-status-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 25px;
    background: #333333;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    z-index: 3;
    color: white;
    font-size: 10px;
    font-weight: 500;
}

/* Status bar time */
.phone-status-bar .time {
    font-weight: 600;
}

/* Status bar icons container */
.phone-status-bar .status-icons {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Signal strength bars */
.phone-status-bar .signal-bars {
    display: flex;
    align-items: flex-end;
    gap: 1px;
    height: 8px;
}

.phone-status-bar .signal-bar {
    width: 2px;
    background: white;
    border-radius: 1px;
}

.phone-status-bar .signal-bar:nth-child(1) {
    height: 3px;
}

.phone-status-bar .signal-bar:nth-child(2) {
    height: 5px;
}

.phone-status-bar .signal-bar:nth-child(3) {
    height: 7px;
}

.phone-status-bar .signal-bar:nth-child(4) {
    height: 8px;
}

/* Battery icon */
.phone-status-bar .battery {
    font-size: 8px;
}

.chat-header {
    background-color: #075E54;
    color: white;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 2;
    margin-top: 25px; /* Add margin to account for status bar */
}
.chat-header .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.3);
}
.chat-header .chat-title {
    flex-grow: 1;
}
.chat-header .chat-title strong {
    display: block;
    font-size: 1rem;
    font-weight: 600;
}
.chat-header .chat-title small {
    font-size: 0.8rem;
    color: #a2d5d0;
    font-weight: 400;
}

.chat-body {
    flex-grow: 1;
    padding: 20px 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.chat-message {
    padding: 10px 15px;
    border-radius: 20px;
    max-width: 80%;
    color: #212529;
    animation: pop-in 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: relative;
}

@keyframes pop-in {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.user-message {
    background-color: #DCF8C6;
    align-self: flex-end;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
    border-top-left-radius: 20px;
}

.bot-message {
    background-color: #fff;
    align-self: flex-start;
    border-top-left-radius: 8px;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
    border-top-right-radius: 20px;
}

.typing-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 15px;
    background-color: #fff;
    border-radius: 20px;
    border-top-left-radius: 8px;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
    border-top-right-radius: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    align-self: flex-start;
    max-width: 80%;
}
.typing-indicator span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #999;
    animation: bounce 1.3s infinite;
}
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounce {
    0%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-5px); }
}

/* --- Industries Section --- */
.industry-card {
    background: white;
    border-radius: 0;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
    height: 100%;
}
.industry-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}
.industry-card img {
    width: 180px;
    height: 180px;
    margin-bottom: 15px;
    object-fit: cover;
    border-radius: 8px;
}
.industry-card-body {
    background: white;
    border-radius: 0;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

/* --- Feature Cards --- */
.feature-card {
    background: white;
    border-radius: 0;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
    height: 100%;
}
.feature-card:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}
.feature-card .icon-container {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 1.5rem;
}

/* --- Testimonials --- */
#testimonials .carousel-item {
    padding: 30px 20px;
}
#testimonials .carousel-control-prev-icon,
#testimonials .carousel-control-next-icon {
    background-color: #007bff;
    border-radius: 0;
    padding: 10px;
}

/* --- Pricing --- */
#pricing .card {
    border: none;
    border-radius: 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
}
#pricing .card:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}
#pricing .card .card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 0.375rem 0.375rem 0 0 !important;
}

.final-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px 0;
}

/* Navbar button styles */
.navbar .btn {
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-block !important;
    margin: 0 0.25rem;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 2px solid;
    border-radius: 6px !important;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.navbar .btn:hover {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar .btn-primary {
    background: var(--primary-color, #0d6efd);
    border-color: var(--primary-color, #0d6efd);
    color: white !important;
}

.navbar .btn-primary:hover {
    background: var(--primary-light, #0b5ed7);
    border-color: var(--primary-light, #0b5ed7);
    color: white !important;
}

.navbar .btn-outline-primary {
    color: var(--primary-color, #0d6efd) !important;
    border-color: var(--primary-color, #0d6efd);
    background: transparent;
}

.navbar .btn-outline-primary:hover {
    background: var(--primary-color, #0d6efd);
    border-color: var(--primary-color, #0d6efd);
    color: white !important;
}

/* --- Sidebar Styles --- */
#wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
}

#sidebar-wrapper {
    min-width: 250px;
    max-width: 250px;
    min-height: 100vh;
    transition: margin 0.25s ease-out;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
}

#sidebar-wrapper .sidebar-heading {
    padding: 0.875rem 1.25rem;
    font-size: 1.2rem;
    font-weight: bold;
}

#sidebar-wrapper .list-group-item {
    border: none;
    border-radius: 0;
    padding: 0.75rem 1.25rem;
    font-weight: 500;
    transition: background-color 0.2s ease, color 0.2s ease;
}

#sidebar-wrapper .list-group-item:hover {
    background-color: #f8f9fa;
    color: #007bff;
}

#sidebar-wrapper .list-group-item.active {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

#sidebar-wrapper .list-group-item.active:hover {
    background-color: #0056b3;
    transform: none;
}

#page-content-wrapper {
    width: 100%;
    min-height: 100vh;
    background-color: #f8f9fa;
}

/* Sidebar Toggle */
#wrapper.toggled #sidebar-wrapper {
    margin-left: -250px;
}

/* Responsive Sidebar */
@media (max-width: 768px) {
    #sidebar-wrapper {
        margin-left: -250px;
    }
    
    #wrapper.toggled #sidebar-wrapper {
        margin-left: 0;
    }
    
    #page-content-wrapper {
        min-width: 0;
        width: 100%;
    }
}

/* Top Navigation Bar */
.navbar-light {
    background-color: white !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#sidebarToggle {
    border: none;
    background-color: #007bff;
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem !important;
    transition: background-color 0.2s ease;
}

#sidebarToggle:hover {
    background-color: #0056b3;
}

/* User Dropdown */
.dropdown-toggle::after {
    margin-left: 0.5rem;
}

.dropdown-menu:not(#language-menu) {
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
    border-radius: 0.375rem !important;
}

.dropdown-item:not(#language-menu button) {
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.dropdown-item:not(#language-menu button):hover {
    background-color: #f8f9fa;
    color: #007bff;
}

/* Badge Styles */
.badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem !important;
}

/* Content Area */
.container-fluid {
    padding: 1.5rem;
}

/* Card Enhancements for Sidebar Layout */
.card {
    border: none;
    border-radius: 0.375rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075);
}

.card-header {
    background-color: white;
    border-bottom: 1px solid #dee2e6;
    border-radius: 0.375rem 0.375rem 0 0 !important;
}

/* Active Menu Item Animation */
#sidebar-wrapper .list-group-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: #fff;
    border-radius: 0;
}

/* Hover Effects */
#sidebar-wrapper .list-group-item:hover i {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Icon Spacing */
#sidebar-wrapper .list-group-item i {
    width: 20px;
    text-align: center;
    margin-right: 0.5rem;
}

/* Badge styles - rounded corners */
.rounded-pill {
    border-radius: 50rem !important;
}

/* Form controls - rounded corners */
.form-control {
    border-radius: 0.375rem !important;
}

.form-select {
    border-radius: 0.375rem !important;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* List group styles - rounded corners */
.list-group-item {
    border-radius: 0.375rem !important;
}

.list-group-item:first-child {
    border-top-left-radius: 0.375rem !important;
    border-top-right-radius: 0.375rem !important;
}

.list-group-item:last-child {
    border-bottom-left-radius: 0.375rem !important;
    border-bottom-right-radius: 0.375rem !important;
}

/* Modal styles - rounded corners */
.modal-content {
    border-radius: 0.5rem !important;
}

.modal-header {
    border-top-left-radius: 0.5rem !important;
    border-top-right-radius: 0.5rem !important;
}

.modal-footer {
    border-bottom-left-radius: 0.5rem !important;
    border-bottom-right-radius: 0.5rem !important;
}

.btn-close {
    border-radius: 0.375rem !important;
}

/* Comprehensive button visibility fix */
button.btn,
a.btn,
input[type="submit"].btn,
input[type="button"].btn {
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-block !important;
    position: relative !important;
    z-index: 10 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
}

/* Ensure button text and icons are visible */
.btn i,
.btn span,
.btn strong,
.btn em {
    color: inherit !important;
    opacity: 1 !important;
    visibility: visible !important;
    text-align: center !important;
    display: inline !important;
    white-space: nowrap !important;
}

/* Force all button text to be visible */
.btn,
.btn *,
button.btn,
button.btn *,
a.btn,
a.btn * {
    color: inherit !important;
    opacity: 1 !important;
    visibility: visible !important;
    text-align: center !important;
    display: inline !important;
    white-space: nowrap !important;
}

/* Force button colors to be visible */
.btn-primary {
    background-color: var(--primary-color, #0d6efd) !important;
    border-color: var(--primary-color, #0d6efd) !important;
    color: white !important;
}

.btn-outline-primary {
    color: var(--primary-color, #0d6efd) !important;
    border-color: var(--primary-color, #0d6efd) !important;
    background-color: transparent !important;
}

.btn-outline-secondary {
    color: #6c757d !important;
    border-color: #6c757d !important;
    background-color: transparent !important;
}

.btn-light {
    background-color: #f8f9fa !important;
    border-color: #f8f9fa !important;
    color: #000 !important;
}

/* Force button visibility with maximum specificity */
html body .btn,
html body button.btn,
html body a.btn,
html body input[type="submit"].btn,
html body input[type="button"].btn,
html body .login-container .btn,
html body .logout-container .btn,
html body .hero-section .btn,
html body #pricing .btn,
html body .final-cta .btn,
html body .card .btn,
html body .form .btn {
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-block !important;
    position: relative !important;
    z-index: 9999 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    background-color: initial !important;
    border: 2px solid !important;
    color: initial !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    padding: 10px 25px !important;
    margin: 5px !important;
    border-radius: 0.375rem !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

/* Navbar buttons with rounded corners */
html body .navbar .btn {
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-block !important;
    position: relative !important;
    z-index: 9999 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    background-color: initial !important;
    border: 2px solid !important;
    color: initial !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    padding: 8px 16px !important;
    margin: 0 0.25rem !important;
    border-radius: 6px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

/* Custom language dropdown styles - override Bootstrap */
html body .navbar .nav-item[style*="position: relative"] {
    position: relative !important;
}

html body .navbar #language-menu {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    background: white !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    z-index: 9999 !important;
    min-width: 150px !important;
    margin-top: 5px !important;
}

html body .navbar #language-menu[style*="display: block"] {
    display: block !important;
}

html body .navbar #language-menu div {
    padding: 8px 0 !important;
}

html body .navbar #language-menu form {
    margin: 0 !important;
}

html body .navbar #language-menu button {
    width: 100% !important;
    text-align: left !important;
    padding: 8px 16px !important;
    border: none !important;
    background: none !important;
    color: #333 !important;
    transition: background-color 0.2s !important;
}

html body .navbar #language-menu button:hover {
    background-color: #f8f9fa !important;
}

html body .navbar #language-menu button[style*="background-color: #e3f2fd"] {
    background-color: #e3f2fd !important;
}

/* Flag emoji styling for language menu */
html body .navbar #language-menu button {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
}

/* Force specific button colors */
html body .btn-primary,
html body button.btn-primary,
html body a.btn-primary {
    background-color: #0d6efd !important;
    border-color: #0d6efd !important;
    color: white !important;
}

html body .btn-outline-primary,
html body button.btn-outline-primary,
html body a.btn-outline-primary {
    background-color: transparent !important;
    border-color: #0d6efd !important;
    color: #0d6efd !important;
}

html body .btn-outline-secondary,
html body button.btn-outline-secondary,
html body a.btn-outline-secondary {
    background-color: transparent !important;
    border-color: #6c757d !important;
    color: #6c757d !important;
}

html body .btn-light,
html body button.btn-light,
html body a.btn-light {
    background-color: #f8f9fa !important;
    border-color: #f8f9fa !important;
    color: #000 !important;
}

/* Force button content visibility */
html body .btn *,
html body button.btn *,
html body a.btn * {
    color: inherit !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: inline !important;
    text-align: center !important;
}

/* Override for flag emojis in language menu */
html body .navbar #language-menu .flag-emoji,
html body .navbar #language-menu .current-flag,
html body .navbar .flag-emoji,
html body .navbar .current-flag {
    display: inline-block !important;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important;
    font-style: normal !important;
    font-weight: normal !important;
    text-rendering: auto !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* Specific fixes for user list buttons */
.btn-group .btn-sm {
    min-width: 80px !important;
    padding: 6px 12px !important;
    font-size: 0.875rem !important;
    text-align: center !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
}

/* Service management buttons */
.edit-service,
.delete-service {
    min-width: 60px !important;
    height: 28px !important;
    padding: 4px 8px !important;
    margin: 0 2px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 12px !important;
    font-size: 12px !important;
    transition: all 0.2s ease !important;
}

.edit-service:hover,
.delete-service:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2) !important;
}

.edit-service i,
.delete-service i {
    font-size: 12px !important;
    color: inherit !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.edit-service .btn-text,
.delete-service .btn-text {
    margin-left: 3px !important;
    font-size: 11px !important;
    color: inherit !important;
    opacity: 1 !important;
    visibility: visible !important;
    white-space: nowrap !important;
}

/* Branch list action buttons */
.branch-action-btn {
    min-width: 60px !important;
    height: 28px !important;
    padding: 4px 8px !important;
    margin: 0 2px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 12px !important;
    font-size: 12px !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    border: 1px solid !important;
    cursor: pointer !important;
}

.branch-edit-btn {
    background-color: transparent !important;
    border-color: #0d6efd !important;
    color: #0d6efd !important;
}

.branch-edit-btn:hover {
    background-color: #0d6efd !important;
    color: white !important;
    transform: scale(1.05) !important;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.3) !important;
}

.branch-delete-btn {
    background-color: transparent !important;
    border-color: #dc3545 !important;
    color: #dc3545 !important;
}

.branch-delete-btn:hover {
    background-color: #dc3545 !important;
    color: white !important;
    transform: scale(1.05) !important;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3) !important;
}

.branch-view-btn {
    background-color: transparent !important;
    border-color: #0dcaf0 !important;
    color: #0dcaf0 !important;
}

.branch-view-btn:hover {
    background-color: #0dcaf0 !important;
    color: white !important;
    transform: scale(1.05) !important;
    box-shadow: 0 2px 8px rgba(13, 202, 240, 0.3) !important;
}

.branch-action-btn i {
    font-size: 12px !important;
    margin-right: 3px !important;
    color: inherit !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.branch-action-btn .btn-text {
    font-size: 11px !important;
    color: inherit !important;
    opacity: 1 !important;
    visibility: visible !important;
    white-space: nowrap !important;
}

/* Business list action buttons */
.business-action-btn {
    min-width: 60px !important;
    height: 28px !important;
    padding: 4px 8px !important;
    margin: 0 2px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 12px !important;
    font-size: 12px !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    border: 1px solid !important;
    cursor: pointer !important;
}

.business-edit-btn {
    background-color: transparent !important;
    border-color: #0d6efd !important;
    color: #0d6efd !important;
}

.business-edit-btn:hover {
    background-color: #0d6efd !important;
    color: white !important;
    transform: scale(1.05) !important;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.3) !important;
}

.business-delete-btn {
    background-color: transparent !important;
    border-color: #dc3545 !important;
    color: #dc3545 !important;
}

.business-delete-btn:hover {
    background-color: #dc3545 !important;
    color: white !important;
    transform: scale(1.05) !important;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3) !important;
}

.business-action-btn i {
    font-size: 12px !important;
    margin-right: 3px !important;
    color: inherit !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.business-action-btn .btn-text {
    font-size: 11px !important;
    color: inherit !important;
    opacity: 1 !important;
    visibility: visible !important;
    white-space: nowrap !important;
}

/* License management action buttons */
.license-action-btn {
    min-width: 60px !important;
    height: 28px !important;
    padding: 4px 8px !important;
    margin: 0 2px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 12px !important;
    font-size: 12px !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    border: 1px solid !important;
    cursor: pointer !important;
}

.license-view-btn {
    background-color: transparent !important;
    border-color: #0dcaf0 !important;
    color: #0dcaf0 !important;
}

.license-view-btn:hover {
    background-color: #0dcaf0 !important;
    color: white !important;
    transform: scale(1.05) !important;
    box-shadow: 0 2px 8px rgba(13, 202, 240, 0.3) !important;
}

.license-edit-btn {
    background-color: transparent !important;
    border-color: #0d6efd !important;
    color: #0d6efd !important;
}

.license-edit-btn:hover {
    background-color: #0d6efd !important;
    color: white !important;
    transform: scale(1.05) !important;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.3) !important;
}

.license-close-btn {
    background-color: transparent !important;
    border-color: #6c757d !important;
    color: #6c757d !important;
}

.license-close-btn:hover {
    background-color: #6c757d !important;
    color: white !important;
    transform: scale(1.05) !important;
    box-shadow: 0 2px 8px rgba(108, 117, 125, 0.3) !important;
}

.license-manage-btn {
    background-color: transparent !important;
    border-color: #198754 !important;
    color: #198754 !important;
}

.license-manage-btn:hover {
    background-color: #198754 !important;
    color: white !important;
    transform: scale(1.05) !important;
    box-shadow: 0 2px 8px rgba(25, 135, 84, 0.3) !important;
}

.license-action-btn i {
    font-size: 12px !important;
    margin-right: 3px !important;
    color: inherit !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.license-action-btn .btn-text {
    font-size: 11px !important;
    color: inherit !important;
    opacity: 1 !important;
    visibility: visible !important;
    white-space: nowrap !important;
}

/* Subscription management action buttons */
.subscription-action-btn {
    min-width: 60px !important;
    height: 32px !important;
    padding: 6px 12px !important;
    margin: 0 2px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 12px !important;
    font-size: 12px !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    border: 1px solid !important;
    cursor: pointer !important;
}

.subscription-view-btn {
    background-color: transparent !important;
    border-color: #0dcaf0 !important;
    color: #0dcaf0 !important;
}

.subscription-view-btn:hover {
    background-color: #0dcaf0 !important;
    color: white !important;
    transform: scale(1.05) !important;
    box-shadow: 0 2px 8px rgba(13, 202, 240, 0.3) !important;
}

.subscription-current-btn {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    color: white !important;
    opacity: 0.7 !important;
}

.subscription-upgrade-btn {
    background-color: transparent !important;
    border-color: #ffc107 !important;
    color: #ffc107 !important;
}

.subscription-upgrade-btn:hover {
    background-color: #ffc107 !important;
    color: white !important;
    transform: scale(1.05) !important;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3) !important;
}

.subscription-choose-btn {
    background-color: transparent !important;
    border-color: #0d6efd !important;
    color: #0d6efd !important;
}

.subscription-choose-btn:hover {
    background-color: #0d6efd !important;
    color: white !important;
    transform: scale(1.05) !important;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.3) !important;
}

.subscription-inactive-btn {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    color: white !important;
    opacity: 0.7 !important;
}

.subscription-action-btn i {
    font-size: 12px !important;
    margin-right: 3px !important;
    color: inherit !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.subscription-action-btn .btn-text {
    font-size: 11px !important;
    color: inherit !important;
    opacity: 1 !important;
    visibility: visible !important;
    white-space: nowrap !important;
}

.btn-group .btn-sm i {
    margin-right: 4px !important;
    font-size: 0.8rem !important;
}

.btn-group .btn-sm span,
.btn-group .btn-sm {
    color: inherit !important;
    opacity: 1 !important;
    visibility: visible !important;
    text-align: center !important;
    white-space: nowrap !important;
}

/* Force button hover states */
html body .btn:hover,
html body button.btn:hover,
html body a.btn:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.2) !important;
}

html body .btn-primary:hover,
html body button.btn-primary:hover,
html body a.btn-primary:hover {
    background-color: #0b5ed7 !important;
    border-color: #0b5ed7 !important;
    color: white !important;
}

html body .btn-outline-primary:hover,
html body button.btn-outline-primary:hover,
html body a.btn-outline-primary:hover {
    background-color: #0d6efd !important;
    border-color: #0d6efd !important;
    color: white !important;
}

/* Force button sizes */
html body .btn-lg,
html body button.btn-lg,
html body a.btn-lg {
    padding: 15px 35px !important;
    font-size: 1.1rem !important;
}

/* Force full width buttons in containers */
html body .login-container .btn,
html body .logout-container .btn {
    width: 100% !important;
    margin-bottom: 0.5rem !important;
}

/* Force navbar button visibility */
html body .navbar .btn {
    margin: 0 0.25rem !important;
    padding: 8px 16px !important;
    font-size: 0.9rem !important;
} 

/* Unified subscription management action buttons */
.unified-action-btn {
    min-width: 60px !important;
    height: 32px !important;
    padding: 6px 12px !important;
    margin: 0 2px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 12px !important;
    font-size: 12px !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    border: 1px solid !important;
    cursor: pointer !important;
}

.unified-upgrade-btn {
    background-color: transparent !important;
    border-color: #ffc107 !important;
    color: #ffc107 !important;
}
.unified-upgrade-btn:hover {
    background-color: #ffc107 !important;
    color: white !important;
    transform: scale(1.05) !important;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3) !important;
}

.unified-renew-btn {
    background-color: transparent !important;
    border-color: #0d6efd !important;
    color: #0d6efd !important;
}
.unified-renew-btn:hover {
    background-color: #0d6efd !important;
    color: white !important;
    transform: scale(1.05) !important;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.3) !important;
}

.unified-current-btn {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    color: white !important;
    opacity: 0.7 !important;
}

.unified-choose-btn {
    background-color: transparent !important;
    border-color: #198754 !important;
    color: #198754 !important;
}
.unified-choose-btn:hover {
    background-color: #198754 !important;
    color: white !important;
    transform: scale(1.05) !important;
    box-shadow: 0 2px 8px rgba(25, 135, 84, 0.3) !important;
}

.unified-inactive-btn {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    color: white !important;
    opacity: 0.7 !important;
}

.unified-copy-btn {
    background-color: transparent !important;
    border-color: #0dcaf0 !important;
    color: #0dcaf0 !important;
    min-width: 48px !important;
    height: 32px !important;
    padding: 4px 8px !important;
    font-size: 12px !important;
}
.unified-copy-btn:hover {
    background-color: #0dcaf0 !important;
    color: white !important;
    transform: scale(1.05) !important;
    box-shadow: 0 2px 8px rgba(13, 202, 240, 0.3) !important;
}

.unified-action-btn i {
    font-size: 12px !important;
    margin-right: 3px !important;
    color: inherit !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.unified-action-btn .btn-text {
    font-size: 11px !important;
    color: inherit !important;
    opacity: 1 !important;
    visibility: visible !important;
    white-space: nowrap !important;
} 