/**
 * Main Stylesheet - Extans By Shahid
 * Base styles shared across all themes
 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Login Page Styles */
.login-page {
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a4d5e 0%, #2d7a8f 100%);
    padding: 24px;
}

.login-container {
    display: flex;
    width: min(100%, 1200px);
    max-width: 1200px;
    min-width: 0;
    min-height: min(600px, calc(100vh - 48px));
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.login-left {
    flex: 1;
    background: linear-gradient(135deg, #1a4d5e 0%, #2d7a8f 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 40px;
    min-width: 0;
}

.logo-container {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.login-logo {
    max-width: min(350px, 70%);
    max-height: min(350px, 42vh);
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.company-name {
    color: #fff;
    font-size: 48px;
    font-weight: 400;
    letter-spacing: 1px;
    text-align: center;
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: auto;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.developer-credit {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 14px;
    text-align: center;
    opacity: 0.8;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    width: calc(100% - 48px);
}

.developer-credit a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.developer-credit a:hover {
    opacity: 1;
    border-bottom-color: #fff;
}

.login-right {
    flex: 1;
    background: linear-gradient(135deg, #1a4d5e 0%, #2d7a8f 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    min-width: 0;
}

.welcome-text {
    color: #fff;
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 10px;
}

.login-instruction {
    color: #fff;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 40px;
    opacity: 0.9;
    text-align: center;
}

.login-form {
    width: 100%;
    max-width: 400px;
    min-width: 0;
}

.login-form .form-group {
    width: 100%;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    letter-spacing: 1px;
    background: #fff;
    color: #333;
}

.login-form .password-wrapper input {
    padding-right: 50px;
}

.login-form .password-toggle {
    right: 15px;
}

.form-group input::placeholder {
    color: #999;
}

.btn-login {
    width: 100%;
    padding: 15px;
    background: #ff6b35;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
}

.btn-login:hover {
    background: #ff8c5a;
}

@media (max-width: 1100px) {
    .login-container {
        max-width: 960px;
        min-height: min(560px, calc(100vh - 48px));
    }

    .login-left,
    .login-right {
        padding: 36px 32px;
    }

    .company-name,
    .welcome-text {
        font-size: 40px;
    }

    .login-logo {
        max-width: min(280px, 70%);
        max-height: 280px;
    }
}

@media (max-width: 768px) {
    .login-page {
        align-items: flex-start;
        padding: 18px;
        min-height: 100svh;
    }

    .login-container {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        min-height: calc(100svh - 36px);
        background: linear-gradient(135deg, #1a4d5e 0%, #2d7a8f 100%);
        border-radius: 12px;
        position: relative;
        padding-bottom: 42px;
    }

    .login-left {
        min-height: auto;
        padding: 30px 24px 22px;
        position: static;
    }

    .logo-container {
        margin-bottom: 14px;
    }

    .login-logo {
        max-width: min(180px, 58vw);
        max-height: 170px;
    }

    .company-name {
        font-size: 30px;
        margin-bottom: 0;
    }

    .developer-credit {
        position: absolute;
        left: 18px;
        right: 18px;
        bottom: 16px;
        transform: none;
        width: 100%;
        margin: 0;
        font-size: 12px;
        width: auto;
    }

    .login-right {
        padding: 28px 24px 32px;
        justify-content: flex-start;
        width: 100%;
        overflow: hidden;
    }

    .welcome-text {
        font-size: 34px;
    }

    .login-instruction {
        margin-bottom: 24px;
        line-height: 1.5;
    }

    .login-form {
        width: 100%;
        max-width: 100%;
    }

    .login-form .form-group,
    .login-form input,
    .login-form .btn-login {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .login-page {
        padding: 12px;
    }

    .login-container {
        width: 100%;
        max-width: 100%;
        min-height: calc(100svh - 24px);
        padding-bottom: 40px;
    }

    .login-left {
        padding: 24px 18px 18px;
    }

    .login-right {
        padding: 24px 18px 28px;
        width: 100%;
        overflow: hidden;
    }

    .login-logo {
        max-width: min(150px, 56vw);
        max-height: 140px;
    }

    .company-name {
        font-size: 24px;
        line-height: 1.25;
    }

    .welcome-text {
        font-size: 30px;
    }

    .login-form {
        width: calc(100vw - 60px);
        max-width: calc(100vw - 60px);
    }

    .login-form .form-group,
    .login-form input,
    .login-form .btn-login {
        width: 100% !important;
        max-width: 100%;
    }

    .form-group input {
        padding: 14px 16px;
        font-size: 14px;
    }

    .login-form .password-wrapper input {
        padding-right: 48px;
    }

    .btn-login {
        padding: 14px;
        font-size: 15px;
    }
}

@media (max-width: 360px) {
    .company-name {
        font-size: 22px;
    }

    .welcome-text {
        font-size: 28px;
    }

    .login-instruction {
        font-size: 11px;
    }
}

.forgot-password {
    display: block;
    text-align: center;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    margin-top: 20px;
    opacity: 0.8;
}

.forgot-password:hover {
    opacity: 1;
}

.error-message {
    background: #ff4444;
    color: white;
    padding: 12px 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: center;
}

/* App Layout */
.app-container {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 260px;
    background: #2d7a8f;
    border-right: 1px solid #1f5a6b;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    overflow: hidden;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid #1f5a6b;
    background: #1f5a6b;
}

.sidebar-logo {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-image {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.logo-text {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
}

.sidebar-nav {
    flex: 1;
    padding: 15px 0 0 0;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
    height: 100%;
}

.nav-list {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 0;
    padding-bottom: 100px; /* Space for bottom nav items */
    margin-bottom: 0;
}

.nav-list-bottom {
    border-top: 1px solid #1f5a6b;
    padding: 10px 0 15px 0;
    flex-shrink: 0;
    background: #2d7a8f;
    width: 100%;
    position: absolute;
    bottom: 20px;
    left: 0;
    z-index: 10;
}

.nav-section {
    margin-bottom: 30px;
}

.nav-section-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #9ca3af;
    padding: 0 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-list > li {
    margin: 0;
}

.nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    color: #e5e7eb;
    text-decoration: none;
    transition: all 0.3s;
    gap: 12px;
    font-size: 14px;
    border-left: 3px solid transparent;
}

.nav-link span {
    flex: 1;
}

.nav-link:hover {
    background: #1f5a6b;
    color: #ffffff;
    border-left-color: #4fd3c4;
}

.nav-link.active {
    background: #1f5a6b;
    color: #ffffff;
    border-left-color: #4fd3c4;
}

.nav-icon {
    font-size: 18px;
    width: 20px;
    text-align: center;
}

/* Dropdown Styles */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    cursor: pointer;
}

.dropdown-arrow {
    font-size: 12px;
    transition: transform 0.3s;
    margin-left: auto;
}

.nav-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #1f5a6b;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.nav-dropdown.open .nav-dropdown-menu {
    max-height: 500px;
    transition: max-height 0.5s ease-in;
}

.nav-dropdown-link {
    display: flex;
    align-items: center;
    padding: 10px 20px 10px 50px;
    color: #b0b5c0;
    text-decoration: none;
    transition: all 0.3s;
    gap: 12px;
    font-size: 13px;
    border-left: 3px solid transparent;
}

.nav-dropdown-link span {
    flex: 1;
}

.nav-dropdown-link:hover {
    background: #1f5a6b;
    color: #ffffff;
    border-left-color: #4fd3c4;
}

.nav-dropdown-link.active {
    background: #1f5a6b;
    color: #ffffff;
    border-left-color: #4fd3c4;
}

.nav-dropdown-link .nav-icon {
    font-size: 16px;
}

.logout-link {
    color: #ef4444;
    border-left: 3px solid transparent !important;
}

.logout-link:hover {
    background: #2d1f1f;
    color: #ff6b6b;
}

.main-content {
    flex: 1;
    margin-left: 260px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-width: 0; /* Fix for flexbox overflow issues */
}

.top-header {
    background: #fff;
    padding: 15px 30px;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.mobile-menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background: #fff;
    color: #212529;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex: 0 0 42px;
}

.mobile-menu-toggle:hover {
    background: #f8f9fa;
}

.mobile-sidebar-overlay {
    display: none;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.header-left {
    flex: 1;
    display: flex;
    align-items: center;
}

.theme-toggle-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px 12px;
    font-size: 24px;
    transition: transform 0.3s;
    border-radius: 5px;
}

.theme-toggle-btn:hover {
    background: #f8f9fa;
    transform: scale(1.1);
}

.theme-toggle-btn:active {
    transform: scale(0.95);
}

.theme-icon {
    display: inline-block;
    user-select: none;
    font-size: 20px;
    color: #ffc107; /* Yellow for light theme */
    transition: color 0.3s;
}

.nav-icon {
    font-size: 16px;
    width: 20px;
    text-align: center;
    display: inline-block;
}

.logo-icon {
    font-size: 20px;
    margin-right: 8px;
    display: inline-block;
}

.eye-icon {
    font-size: 16px;
    display: inline-block;
}

.btn-icon {
    font-size: 14px;
    display: inline-block;
}

.metric-icon {
    font-size: 48px;
    color: #2d7a8f;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
    padding: 15px;
    background: rgba(45, 122, 143, 0.1);
    border-radius: 12px;
}

.metric-icon i {
    font-size: 48px;
}

.search-input {
    padding: 10px 15px;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    width: 300px;
    font-size: 14px;
}

.search-clear-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px 8px;
    color: #6c757d;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
    z-index: 10;
}

.search-clear-btn:hover {
    color: #212529;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-header {
    background: #2d7a8f;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-header:hover {
    background: #1a4d5e;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(45, 122, 143, 0.3);
}

.btn-header .btn-icon {
    font-size: 16px;
}

.btn-booking {
    background: #2d7a8f;
}

.btn-booking:hover {
    background: #1a4d5e;
}

.btn-walkin {
    background: #28a745;
}

.btn-walkin:hover {
    background: #218838;
}

.btn-schedule {
    background: #6f42c1;
}

.btn-schedule:hover {
    background: #5a32a3;
}

.btn-invoice {
    background: #17a2b8;
}

.btn-invoice:hover {
    background: #138496;
}

.btn-reservations {
    background: #2d7a8f;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.btn-reservations:hover {
    background: #1a4d5e;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(45, 122, 143, 0.3);
}

.btn-reservations .btn-icon {
    font-size: 16px;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #2d7a8f;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: 600;
    font-size: 14px;
}

.user-role {
    font-size: 12px;
    color: #6c757d;
    text-transform: capitalize;
}

.content-wrapper {
    flex: 1;
    padding: 30px;
    min-width: 0;
    width: 100%;
    max-width: 100%;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.page-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 30px;
}

.page-subtitle {
    margin: 5px 0 0 0;
    color: #6c757d;
    font-size: 14px;
    font-weight: 400;
}

.page-stats .stat-card {
    background: linear-gradient(135deg, #2d7a8f 0%, #1a4d5e 100%);
    border-radius: 12px;
    padding: 20px 30px;
    min-width: 150px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(45, 122, 143, 0.2);
}

.page-stats .stat-card .stat-value {
    font-size: 32px;
    font-weight: 700;
    color: #fff !important;
    line-height: 1;
    margin-bottom: 5px;
}

.page-stats .stat-card .stat-label {
    font-size: 13px;
    color: #fff !important;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 13px;
    color: #fff;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.schedule-stats-top {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.page-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

/* Barber Search Form */
.barber-search-form {
    display: flex;
    align-items: center;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 12px;
    color: #6c757d;
    font-size: 14px;
    pointer-events: none;
    z-index: 1;
}

.search-input {
    padding: 10px 40px 10px 38px;
    border: 2px solid #dee2e6;
    border-radius: 6px;
    font-size: 14px;
    width: 280px;
    transition: all 0.3s ease;
    background: #fff;
    color: #212529;
}

.search-input:focus {
    outline: none;
    border-color: #2d7a8f;
    box-shadow: 0 0 0 3px rgba(45, 122, 143, 0.1);
}

.search-input::placeholder {
    color: #adb5bd;
}

.search-clear {
    position: absolute;
    right: 10px;
    color: #6c757d;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    transition: all 0.2s ease;
    z-index: 1;
}

.search-clear:hover {
    background: #f8f9fa;
    color: #dc3545;
}

.search-clear i {
    font-size: 12px;
}

/* Page Title */
.page-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 0;
    color: #212529;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.page-title i {
    font-size: 32px;
    color: #2d7a8f;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.3px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background: #2d7a8f;
    color: #fff;
}

.btn-primary:hover {
    background: #1a4d5e;
    box-shadow: 0 4px 12px rgba(45, 122, 143, 0.3);
}

.btn-success {
    background: #28a745;
    color: #fff;
}

.btn-success:hover {
    background: #218838;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.btn-info {
    background: #17a2b8;
    color: #fff;
}

.btn-info:hover {
    background: #138496;
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
}

.btn-danger {
    background: #dc3545;
    color: #fff;
}

.btn-danger:hover {
    background: #c82333;
}

.btn-warning {
    background: #2d7a8f;
    color: #fff;
}

.btn-warning:hover {
    background: #1a4d5e;
}

.btn-secondary {
    background: #6c757d;
    color: #fff;
}

.btn-secondary:hover {
    background: #5a6268;
}

/* Cards */
.card {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
    transition: box-shadow 0.3s;
}

.card:hover {
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.08);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #dee2e6;
}

.card-title {
    font-size: 22px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 5px;
    letter-spacing: -0.3px;
}

/* Metrics Cards */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.metric-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #e9ecef;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #2d7a8f 0%, #1a4d5e 100%);
}

.metric-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15), 0 4px 8px rgba(0, 0, 0, 0.1);
}

.metric-info {
    flex: 1;
}

.metric-label {
    font-size: 13px;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-weight: 600;
}

.metric-value {
    font-size: 36px;
    font-weight: 700;
    color: #212529;
    line-height: 1.2;
}

.metric-icon {
    font-size: 40px;
    opacity: 0.3;
}

/* Tables */
.table-container {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
    margin-bottom: 25px;
}

.table-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #dee2e6;
}

.table-title {
    font-size: 20px;
    font-weight: 700;
    color: #212529;
    letter-spacing: -0.3px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background: #f8f9fa;
}

th {
    padding: 18px 15px;
    text-align: left;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #495057;
    border-bottom: 2px solid #dee2e6;
    background: #f8f9fa;
}

td {
    padding: 16px 15px;
    border-bottom: 1px solid #e9ecef;
    color: #212529;
    font-size: 14px;
}

tbody tr:hover {
    background: #f8f9fa;
}

/* Forms */
.form-container {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #212529;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s;
    cursor: pointer !important;
}

.form-group select:hover,
.form-group select:focus {
    cursor: pointer !important;
}

.form-group select:disabled {
    cursor: not-allowed !important;
    background-color: #e9ecef;
    opacity: 0.6;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2d7a8f;
}

/* Payment Modal - Light Theme */
#paymentModal .form-group select {
    padding: 10px 40px 10px 15px;
    border-radius: 6px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23212529' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#paymentModal .form-group select:hover {
    border-color: #adb5bd;
}

#paymentModal .form-group select:focus {
    border-color: #2d7a8f;
    box-shadow: 0 0 0 3px rgba(45, 122, 143, 0.1);
}

.payment-amount-readonly {
    background: #f8f9fa !important;
    border: 1px solid #dee2e6 !important;
    color: #212529 !important;
    cursor: default !important;
}

/* Password field with eye icon */
.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-wrapper input[type="password"],
.password-wrapper input[type="text"] {
    padding-right: 45px;
    width: 100%;
    flex: 1;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    font-size: 20px;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
    z-index: 10;
    outline: none;
    width: 32px;
    height: 32px;
    border-radius: 4px;
}

.password-toggle:hover {
    color: #2d7a8f;
}

.password-toggle:focus {
    outline: none;
}

.password-toggle:active {
    transform: translateY(-50%) scale(0.95);
}

.eye-icon {
    user-select: none;
    font-size: 18px;
    pointer-events: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 30px;
}

.mb-30 {
    margin-bottom: 30px;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.badge-success {
    background: #d4edda;
    color: #155724;
}

.badge-danger {
    background: #f8d7da;
    color: #721c24;
}

.badge-warning {
    background: #fff3cd;
    color: #856404;
}

.badge-info {
    background: #d1ecf1;
    color: #0c5460;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    max-width: 900px;
    width: min(100%, 900px);
    max-height: calc(100dvh - 40px);
    overflow-y: auto;
    min-width: 0;
}

.modal-medium {
    max-width: 600px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #dee2e6;
}

.modal-title {
    font-size: 20px;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #6c757d;
}

.modal-body {
    margin-top: 20px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #dee2e6;
}

.modal-large {
    max-width: 700px;
    width: 90%;
}

.modal-medium {
    max-width: 600px;
}

.modal-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #212529;
    margin: 0;
}

.summary-services-section {
    margin: 20px 0;
}

.summary-services-section h4 {
    font-size: 16px;
    font-weight: 700;
    color: #2d7a8f;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #dee2e6;
}

.summary-customer-info h4,
.summary-booking-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: #2d7a8f;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #dee2e6;
}

/* Reservations Sidebar Panel */
.reservations-sidebar {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    overflow: hidden;
}

.reservations-sidebar.active {
    display: block;
}

.reservations-sidebar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.reservations-sidebar-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 450px;
    max-width: 90vw;
    height: 100%;
    background: #ffffff;
    color: #212529;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    animation: slideInRight 0.3s ease;
    overflow: hidden;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Reservations Header */
.reservations-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 20px;
    border-bottom: 1px solid #dee2e6;
    background: #ffffff;
}

.reservations-title {
    font-size: 20px;
    font-weight: 700;
    color: #212529;
    margin: 0;
}

.reservations-close {
    background: none;
    border: none;
    color: #6c757d;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s;
}

.reservations-close:hover {
    color: #212529;
}

/* Month Selector and Search Controls */
.reservations-controls {
    display: flex;
    gap: 12px;
    padding: 15px 20px;
    border-bottom: 1px solid #dee2e6;
    align-items: center;
    background: #ffffff;
}

.month-selector-wrapper {
    flex-shrink: 0;
    position: relative;
}

.month-select-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    color: #495057;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    position: relative;
    z-index: 10;
}

.month-select-btn:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

.month-select-btn i {
    font-size: 12px;
    color: #adb5bd;
    transition: transform 0.3s;
}

.month-select-btn.active i {
    transform: rotate(180deg);
}

.month-year-selector-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 15px;
    min-width: 250px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
    animation: slideDown 0.3s ease;
}

.month-year-selector-dropdown.show {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.year-selector {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #dee2e6;
}

.year-nav-btn {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    color: #495057;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.year-nav-btn:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

.year-display {
    font-size: 18px;
    font-weight: 700;
    color: #212529;
    min-width: 80px;
    text-align: center;
}

.months-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.month-option {
    padding: 10px 12px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    color: #495057;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.month-option:hover {
    background: #e9ecef;
    border-color: #2d7a8f;
}

.month-option.active {
    background: #2d7a8f;
    border-color: #2d7a8f;
    color: #ffffff;
}

.reservations-search-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.reservations-search-input {
    width: 100%;
    padding: 10px 40px 10px 15px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    color: #212529;
    font-size: 14px;
    transition: all 0.3s;
}

.reservations-search-input:focus {
    outline: none;
    border-color: #2d7a8f;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(45, 122, 143, 0.1);
}

.reservations-search-input::placeholder {
    color: #6c757d;
}

.reservations-search-icon {
    position: absolute;
    right: 15px;
    color: #6c757d;
    font-size: 14px;
    pointer-events: none;
}

.reservations-search-input:focus ~ .reservations-search-icon {
    color: #2d7a8f;
}

/* Calendar View */
.reservations-calendar {
    padding: 15px 20px;
    border-bottom: 1px solid #dee2e6;
    background: #ffffff;
}

.calendar-header-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.calendar-title {
    font-size: 14px;
    font-weight: 600;
    color: #495057;
}

.calendar-toggle-btn {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.calendar-toggle-btn:hover {
    background: #e9ecef;
    border-color: #adb5bd;
    color: #212529;
}

.calendar-content {
    transition: all 0.3s ease;
    overflow: hidden;
}

.calendar-content.collapsed {
    max-height: 0;
    opacity: 0;
    margin: 0;
    padding: 0;
}

.calendar-content.expanded {
    max-height: 1000px;
    opacity: 1;
}

.calendar-week {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.calendar-header-row {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 8px;
}

.calendar-header-day {
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    padding: 8px 4px;
}

.calendar-dates-row {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    background: transparent;
    border: 2px solid transparent;
    position: relative;
}

.calendar-day:hover {
    background: #f8f9fa;
}

.calendar-day.active {
    background: #2d7a8f;
    border-color: #2d7a8f;
    box-shadow: 0 2px 8px rgba(45, 122, 143, 0.3);
}

.calendar-day-other-month {
    opacity: 0.3;
    cursor: not-allowed;
}

.calendar-day-other-month:hover {
    background: transparent;
}

.calendar-day.has-appointments::after {
    content: '';
    position: absolute;
    bottom: 4px;
    width: 4px;
    height: 4px;
    background: #2d7a8f;
    border-radius: 50%;
}

.calendar-day.active.has-appointments::after {
    background: #ffffff;
}

.calendar-day-number {
    font-size: 14px;
    font-weight: 700;
    color: #212529;
}

.calendar-day.active .calendar-day-number {
    color: #ffffff;
}

.calendar-day-other-month .calendar-day-number {
    color: #adb5bd;
}

/* Appointments List */
.reservations-appointments {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #ffffff;
}

.appointments-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.appointment-card {
    display: flex;
    flex-direction: column;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #dee2e6;
    transition: all 0.3s;
    position: relative;
    gap: 12px;
}

.appointment-card:hover {
    background: #e9ecef;
    border-color: #adb5bd;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.appointment-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.appointment-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2d7a8f 0%, #1e5a6b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.appointment-cancel-btn {
    background: rgba(220, 53, 69, 0.2);
    border: 1px solid rgba(220, 53, 69, 0.3);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dc3545;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
}

.appointment-cancel-btn:hover {
    background: rgba(220, 53, 69, 0.3);
    border-color: #dc3545;
    transform: scale(1.1);
}

.appointment-details {
    flex: 1;
    min-width: 0;
}

.appointment-name {
    font-size: 16px;
    font-weight: 700;
    color: #212529;
    margin: 0 0 4px 0;
}

.appointment-service {
    font-size: 13px;
    color: #6c757d;
    margin: 0 0 4px 0;
}

.appointment-phone {
    font-size: 12px;
    color: #6c757d;
    margin: 0 0 4px 0;
}

.appointment-time-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
    gap: 12px;
}

.appointment-time {
    font-size: 12px;
    color: #6c757d;
    margin: 0;
    flex: 1;
}

.appointment-price {
    font-size: 14px;
    font-weight: 700;
    color: #2d7a8f;
    margin: 0;
    white-space: nowrap;
}

.reservations-loading,
.reservations-empty {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
}

.reservations-loading i,
.reservations-empty i {
    font-size: 48px;
    margin-bottom: 15px;
    color: #adb5bd;
}

.reservations-empty p {
    margin: 0;
    font-size: 14px;
    color: #6c757d;
}

/* Reservations Sidebar Responsive */
@media (max-width: 768px) {
    .reservations-sidebar-content {
        width: 100%;
        max-width: 100vw;
    }
    
    .reservations-controls {
        flex-direction: column;
        gap: 10px;
    }
    
    .month-selector-wrapper {
        width: 100%;
    }
    
    .month-select-btn {
        width: 100%;
    }
    
    .reservations-search-wrapper {
        width: 100%;
    }
    
    .calendar-header-row,
    .calendar-dates-row {
        gap: 4px;
    }
    
    .calendar-day {
        padding: 6px 4px;
    }
    
    .calendar-day-number {
        font-size: 12px;
    }
    
    .appointment-card {
        padding: 12px;
    }
    
    .appointment-card-header {
        margin-bottom: 10px;
    }
    
    .appointment-avatar {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
    
    .appointment-cancel-btn {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .appointment-time-price {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .appointment-price {
        font-size: 13px;
    }
}

/* Reservations Modal Table */
#reservationsTable {
    width: 100%;
    margin-top: 15px;
}

#reservationsTable th {
    background: #f8f9fa;
    padding: 12px;
    text-align: left;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
    border-bottom: 2px solid #dee2e6;
}

#reservationsTable td {
    padding: 12px;
    border-bottom: 1px solid #dee2e6;
    color: #212529;
}

#reservationsTable tbody tr:hover {
    background: #f8f9fa;
}

#reservationsLoading,
#reservationsEmpty {
    text-align: center;
    padding: 40px;
    color: #6c757d;
}

/* Grid Layout */
.grid {
    display: grid;
    gap: 20px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Alert Toast Notification */
.alert-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    min-width: 300px;
    max-width: 400px;
    padding: 16px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    animation: slideInRight 0.3s ease-out;
    transition: opacity 0.3s, transform 0.3s;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.alert-toast.alert-success {
    background: #28a745;
    color: #fff;
    border-left: 4px solid #1e7e34;
}

.alert-toast.alert-error {
    background: #dc3545;
    color: #fff;
    border-left: 4px solid #c82333;
}

.alert-toast span {
    flex: 1;
    font-weight: 500;
}

.alert-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.2s;
}

.alert-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.field-error {
    color: #dc3545;
    font-size: 13px;
    margin-top: 5px;
    display: block;
    font-weight: 500;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.settings-form .form-group input.error {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1) !important;
}

.settings-form .form-group input.error:focus {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.2) !important;
}

.alert-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.2s;
    opacity: 0.8;
}

.alert-close:hover {
    background: rgba(255, 255, 255, 0.2);
    opacity: 1;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.mb-30 {
    margin-bottom: 30px;
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        position: relative;
        height: auto;
        background: #2d7a8f;
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Settings Page Styles */
.settings-container {
    max-width: 1200px;
    margin: 0 auto;
}

.settings-section {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

.settings-card {
    margin-bottom: 35px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    transition: all 0.3s;
}

.settings-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.15);
}

.settings-card .card-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 25px 30px;
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 0;
}

.settings-card .card-title {
    font-size: 24px;
    font-weight: 700;
    color: #212529;
    margin: 0;
    display: flex;
    align-items: center;
    letter-spacing: -0.5px;
}

.settings-icon {
    margin-right: 12px;
    color: #2d7a8f;
    font-size: 22px;
    background: rgba(45, 122, 143, 0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.settings-card .card-body {
    padding: 35px;
    background: #ffffff;
}

.settings-form {
    display: block;
    width: 100%;
}

.settings-form .form-group {
    margin-bottom: 25px;
    width: 100%;
    display: block;
    clear: both;
    float: none;
}

.settings-form .form-group:last-of-type {
    margin-bottom: 0;
}

.settings-form .form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #212529;
    font-size: 14px;
    letter-spacing: 0.2px;
}

.settings-form .form-group input {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.3s;
    box-sizing: border-box;
    background: #ffffff;
}

.settings-form .form-group input:hover {
    border-color: #adb5bd;
}

.settings-form .form-group input:focus {
    outline: none;
    border-color: #2d7a8f;
    box-shadow: 0 0 0 3px rgba(45, 122, 143, 0.1);
}

.settings-form .password-wrapper {
    position: relative;
    width: 100%;
    display: block;
    clear: both;
    float: none;
}

.settings-form .form-group.password-wrapper {
    margin-bottom: 25px;
}

.settings-form .password-wrapper input {
    width: 100%;
    padding: 14px 50px 14px 15px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 15px;
    line-height: 1.5;
    transition: all 0.3s;
    box-sizing: border-box;
    background: #ffffff;
    position: relative;
}

.settings-form .password-wrapper input:hover {
    border-color: #adb5bd;
}

.settings-form .password-wrapper input:focus {
    outline: none;
    border-color: #2d7a8f;
    box-shadow: 0 0 0 3px rgba(45, 122, 143, 0.1);
}

.settings-form .password-wrapper .password-toggle {
    position: absolute;
    right: 12px;
    top: calc(10px + 1.5em + 14px + 8px);
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    font-size: 18px;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
    outline: none;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    pointer-events: auto;
}

.settings-form .password-wrapper .password-toggle i {
    line-height: 1;
    display: block;
}

.settings-form .password-wrapper .password-toggle:hover {
    color: #2d7a8f;
    background: rgba(45, 122, 143, 0.1);
}

.settings-form .password-wrapper .password-toggle:active {
    transform: translateY(-50%) scale(0.95);
    background: rgba(45, 122, 143, 0.15);
    top: calc(10px + 1.5em + 14px + 8px);
}

.settings-form .form-actions {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e9ecef;
    display: flex;
    justify-content: flex-end;
}

.settings-form .form-actions .btn {
    padding: 14px 35px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 2px 4px rgba(45, 122, 143, 0.2);
}

.settings-form .form-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(45, 122, 143, 0.3);
}

.settings-form .form-actions .btn:active {
    transform: translateY(0);
}

.settings-form .form-actions .btn i {
    font-size: 16px;
}

/* Theme Display */
.theme-display {
    margin: 15px 0;
}

.theme-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
}

.theme-badge.theme-light {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #856404;
    border: 2px solid #ffc107;
}

.theme-badge.theme-dark {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #fff;
    border: 2px solid #1a252f;
}

.theme-badge i {
    font-size: 18px;
}

/* Form Help Text */
.form-help-text {
    margin-top: 10px;
    font-size: 13px;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.6;
}

.form-help-text i {
    color: #2d7a8f;
    font-size: 14px;
}

/* Label Hints */
.label-hint {
    font-weight: 400;
    color: #6c757d;
    font-size: 12px;
    margin-left: 5px;
}

.settings-form .form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.settings-form .form-group label i {
    color: #2d7a8f;
    font-size: 14px;
}

/* Receptionist Table */
.receptionist-table-wrapper {
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.receptionist-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.receptionist-table thead {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.receptionist-table thead th {
    padding: 18px 25px;
    text-align: left;
    font-weight: 700;
    font-size: 13px;
    color: #495057;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #dee2e6;
}

.receptionist-table thead th i {
    margin-right: 8px;
    color: #2d7a8f;
    font-size: 12px;
}

.receptionist-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s;
}

.receptionist-table tbody tr:hover {
    background: #f8f9fa;
}

.receptionist-table tbody tr:last-child {
    border-bottom: none;
}

.receptionist-table tbody td {
    padding: 20px 25px;
    font-size: 14px;
    color: #212529;
    vertical-align: middle;
}

.receptionist-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.receptionist-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2d7a8f 0%, #1a4d5e 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.receptionist-name {
    font-weight: 600;
    color: #212529;
    font-size: 15px;
}

.btn-edit {
    padding: 10px 20px;
    background: #2d7a8f;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-edit:hover {
    background: #1a4d5e;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(45, 122, 143, 0.3);
}

.btn-edit i {
    font-size: 13px;
}

/* Empty State for Settings */
.settings-card .empty-state {
    padding: 60px 30px;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 8px;
    border: 2px dashed #dee2e6;
}

.settings-card .empty-state .empty-icon {
    font-size: 64px;
    color: #adb5bd;
    margin-bottom: 20px;
    opacity: 0.6;
}

.settings-card .empty-state h3 {
    font-size: 20px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 10px;
}

.settings-card .empty-state p {
    color: #6c757d;
    font-size: 14px;
    margin: 0;
}

/* Modal Improvements */
.modal-large {
    max-width: 600px;
}

.modal-icon {
    width: 40px;
    height: 40px;
    background: rgba(45, 122, 143, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.modal-icon i {
    color: #2d7a8f;
    font-size: 20px;
}

.modal-title {
    display: flex;
    align-items: center;
    font-size: 22px;
    font-weight: 700;
    color: #212529;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding-top: 25px;
    margin-top: 25px;
    border-top: 2px solid #e9ecef;
}

.modal-footer .btn {
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.modal-footer .btn i {
    font-size: 14px;
}

/* Password Toggle Fix */
.settings-form .password-wrapper {
    position: relative;
}

.settings-form .password-wrapper .password-toggle {
    position: absolute;
    right: 12px;
    top: calc(50% + 10px);
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    font-size: 16px;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
    outline: none;
    width: 36px;
    height: 36px;
    border-radius: 6px;
}

.settings-form .password-wrapper .password-toggle:hover {
    color: #2d7a8f;
    background: rgba(45, 122, 143, 0.1);
}

.settings-form .password-wrapper input {
    padding-right: 50px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    border: 2px dashed #dee2e6;
}

.empty-icon {
    font-size: 56px;
    color: #adb5bd;
    margin-bottom: 20px;
    opacity: 0.6;
}

.empty-message {
    color: #6c757d;
    font-size: 17px;
    margin: 0;
    font-weight: 500;
}

/* Receptionist List */
.receptionist-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.receptionist-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s;
    margin-bottom: 25px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.receptionist-card:last-child {
    margin-bottom: 0;
}

.receptionist-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: #2d7a8f;
    transform: translateY(-3px);
}

.receptionist-header {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e9ecef;
}

.receptionist-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.receptionist-icon {
    font-size: 18px;
    color: #2d7a8f;
    background: linear-gradient(135deg, rgba(45, 122, 143, 0.15) 0%, rgba(45, 122, 143, 0.1) 100%);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(45, 122, 143, 0.1);
}

.receptionist-name {
    font-size: 19px;
    font-weight: 700;
    color: #212529;
    letter-spacing: -0.3px;
}

/* Service Selection with Categories */
select optgroup {
    font-weight: 600;
    font-size: 14px;
    color: #2d7a8f;
    background: #f8f9fa;
    padding: 5px 0;
}

select option {
    font-weight: normal;
    padding: 8px 12px;
}

select option:checked {
    background: #2d7a8f;
    color: #fff;
}

/* Booking Page Styles */
.booking-page-container {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
}

.booking-tabs-container {
    margin-bottom: 30px;
    border-bottom: 2px solid #e9ecef;
}

.booking-tabs {
    display: flex;
    gap: 0;
    margin-bottom: -2px;
}

.booking-tab {
    padding: 15px 30px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #6c757d;
    transition: all 0.3s;
    position: relative;
    outline: none;
}

.booking-tab:hover {
    color: #2d7a8f;
    background: rgba(45, 122, 143, 0.05);
}

.booking-tab.active {
    color: #2d7a8f;
    border-bottom-color: #2d7a8f;
    background: rgba(45, 122, 143, 0.05);
}

.booking-tab-content {
    display: none;
    animation: fadeIn 0.3s ease-in;
}

.booking-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.booking-form-container {
    max-width: 900px;
    margin: 0 auto;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
    min-width: 0;
}

.form-section {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    margin-bottom: 25px;
    min-width: 0;
}

.full-page-form .form-section {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    border: 2px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.form-section h3 {
    font-size: 18px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #dee2e6;
}

.form-group {
    margin-bottom: 20px;
}

.form-group:last-child {
    margin-bottom: 0;
}

/* Time fields in one row */
.time-fields-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.time-field-group {
    display: flex;
    flex-direction: column;
}

.time-field-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #495057;
    font-size: 14px;
}

/* End time input - show prohibition cursor */
input.end-time-input,
input.end-time-input:hover,
input.end-time-input:focus,
input[type="time"].end-time-input,
input[type="time"].end-time-input:hover,
input[type="time"].end-time-input:focus {
    cursor: not-allowed !important;
    background-color: #f8f9fa !important;
    opacity: 0.7;
    outline: none !important;
    border-color: #ced4da !important;
    pointer-events: auto;
}

/* Also target by readonly attribute */
input[type="time"][readonly],
input[type="time"][readonly]:hover,
input[type="time"][readonly]:focus {
    cursor: not-allowed !important;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #495057;
    font-size: 14px;
}

.form-group .required {
    color: #dc3545;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s;
    background: #fff;
}

/* Make date and time inputs clickable anywhere */
input[type="date"],
input[type="time"],
input[type="datetime-local"] {
    cursor: pointer !important;
    position: relative;
}

input[type="date"]:hover,
input[type="time"]:hover,
input[type="datetime-local"]:hover {
    cursor: pointer !important;
}

/* Override for readonly/disabled time inputs */
input[type="time"][readonly]:hover,
input[type="time"].end-time-input:hover,
input[type="time"].end-time-input {
    cursor: not-allowed !important;
}

input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator,
input[type="datetime-local"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
}

/* Disable calendar picker indicator for readonly/disabled time inputs */
input[type="time"].end-time-input::-webkit-calendar-picker-indicator,
input[type="time"][readonly]::-webkit-calendar-picker-indicator {
    cursor: not-allowed !important;
    pointer-events: none;
    opacity: 0;
}

/* Show the icon but make entire field clickable */
input[type="date"]::before,
input[type="time"]::before {
    content: '';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 0;
}

input[type="date"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23212529' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    padding-right: 45px;
}

input[type="time"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23212529' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='12 6 12 12 16 14'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    padding-right: 45px;
}

.form-control select,
select.form-control,
.form-group select,
select:not([disabled]) {
    cursor: pointer !important;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23212529' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
    padding-right: 40px;
}

/* Force pointer cursor for all select elements */
select#duration,
select#category_id,
select[name="duration"],
select[name="category_id"],
.service-form select,
form select:not([disabled]) {
    cursor: pointer !important;
}

select#duration:hover,
select#category_id:hover,
select[name="duration"]:hover,
select[name="category_id"]:hover,
.service-form select:hover,
form select:hover:not([disabled]) {
    cursor: pointer !important;
}

.form-control select:hover,
select.form-control:hover,
.form-group select:hover,
select:hover:not(:disabled) {
    cursor: pointer !important;
}

.form-control select:disabled,
select.form-control:disabled,
.form-group select:disabled,
select:disabled {
    cursor: not-allowed !important;
    background-color: #e9ecef;
    opacity: 0.6;
}

.form-control:focus {
    outline: none;
    border-color: #2d7a8f;
    box-shadow: 0 0 0 3px rgba(45, 122, 143, 0.1);
}

.form-control:read-only {
    background: #e9ecef;
    cursor: not-allowed;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 2px solid #e9ecef;
}

.booking-page-container .split-layout-inline-actions,
.walkin-page-container .split-layout-inline-actions {
    display: none !important;
}

.responsive-submit-actions {
    flex: 1 1 100%;
    width: 100%;
    margin-top: 0;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.responsive-submit-actions .btn,
.responsive-submit-actions button {
    width: 100% !important;
    min-height: 46px;
    justify-content: center;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 600;
}

.full-page-form .form-actions {
    margin-top: 40px;
    padding-top: 30px;
    background: #f8f9fa;
    padding: 25px 30px;
    margin-left: -30px;
    margin-right: -30px;
    margin-bottom: -30px;
    border-top: 2px solid #e9ecef;
    border-radius: 0 0 12px 12px;
}

.summary-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #2d7a8f;
    border-radius: 10px;
    padding: 20px;
    margin-top: 30px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(45, 122, 143, 0.15);
}

.summary-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #2d7a8f;
    margin-bottom: 15px;
}

.summary-service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #dee2e6;
}

.summary-service-item > div {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.service-name-summary {
    font-weight: 600;
    color: #212529;
}

.service-duration-badge {
    font-size: 12px;
    color: #6c757d;
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 4px;
}

.service-price-summary {
    font-weight: 700;
    color: #2d7a8f;
    font-size: 15px;
}

.summary-service-item:last-child {
    border-bottom: none;
}

.summary-details {
    margin: 15px 0;
    padding: 15px;
    background: #fff;
    border-radius: 6px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}

.summary-item:last-child {
    margin-bottom: 0;
}

.summary-total {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #2d7a8f;
    font-size: 18px;
    text-align: right;
}

.summary-total strong {
    color: #2d7a8f;
}

.summary-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #dee2e6;
}

.summary-card-header h3 {
    margin: 0;
    font-size: 20px;
    color: #2d7a8f;
}

.summary-actions {
    display: flex;
    gap: 8px;
}

.btn-summary-action {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s;
    color: #fff;
}

.btn-summary-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-check {
    background: #28a745;
}

.btn-check:hover {
    background: #218838;
}

.btn-edit {
    background: #2d7a8f;
}

.btn-edit:hover {
    background: #1a4d5e;
}

.btn-update {
    background: #17a2b8;
}

.btn-update:hover {
    background: #138496;
}

.btn-delete {
    background: #dc3545;
}

.btn-delete:hover {
    background: #c82333;
}

.summary-customer-info,
.summary-booking-info {
    margin: 15px 0;
    padding: 15px;
    background: #fff;
    border-radius: 6px;
}

.summary-services-list {
    margin: 15px 0;
    padding: 15px;
    background: #fff;
    border-radius: 6px;
    max-height: 200px;
    overflow-y: auto;
}

/* Service Selection Two-Column Layout */
.services-section {
    padding: 30px !important;
}

.services-selection-container {
    display: flex;
    gap: 0;
    min-height: 550px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.full-page-form .services-selection-container {
    min-height: 650px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
}

/* Categories Sidebar (Left) */
.categories-sidebar {
    width: 280px;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    border-right: 2px solid #e9ecef;
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
    max-height: 650px;
}

.full-page-form .categories-sidebar {
    width: 300px;
    padding: 30px 25px;
    max-height: 750px;
}

.categories-title {
    font-size: 16px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #dee2e6;
}

.categories-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    overflow-y: auto;
}

.category-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    color: #495057;
    width: 100%;
}

.category-btn:hover {
    background: #e7f3ff;
    border-color: #2d7a8f;
    color: #2d7a8f;
    box-shadow: 0 2px 8px rgba(45, 122, 143, 0.2);
}

.category-btn.active {
    background: #2d7a8f;
    border-color: #2d7a8f;
    color: #fff;
    box-shadow: 0 2px 8px rgba(45, 122, 143, 0.3);
}

.category-btn i {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.category-btn .service-count {
    margin-left: auto;
    font-size: 12px;
    opacity: 0.7;
    font-weight: 500;
}

.category-count {
    font-size: 12px;
    opacity: 0.8;
    font-weight: 600;
    margin-left: auto;
    background: rgba(45, 122, 143, 0.1);
    padding: 2px 8px;
    border-radius: 12px;
}

.category-btn.active .category-count {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    opacity: 1;
}

.category-btn.active .service-count {
    opacity: 0.9;
}

/* Services List Panel (Right) */
.services-list-panel {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: #fff;
    padding: 25px 30px;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 650px;
}

.full-page-form .services-list-panel {
    padding: 30px 35px;
    max-height: 750px;
}

.services-panel-title {
    font-size: 16px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #dee2e6;
}

.services-list-content {
    flex: 1;
    overflow-y: auto;
    position: relative;
}

.service-category-panel {
    display: none !important;
    min-width: 0;
    overflow-x: hidden;
    animation: fadeIn 0.3s ease-in;
}

.service-category-panel.active {
    display: block !important;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding: 15px 20px;
    background: linear-gradient(135deg, #2d7a8f 0%, #1a4d5e 100%);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(45, 122, 143, 0.2);
}

.category-header h5 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.category-service-count {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
    padding: 10px 0;
}

.full-page-form .services-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

/* Services Table Layout */
.services-table-container {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: auto;
    margin-top: 10px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.services-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    background: #fff;
    margin: 0;
}

.services-table thead {
    background: #2d7a8f;
}

.services-table thead th {
    padding: 16px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    color: #ffffff;
    background: #2d7a8f;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #1a4d5e;
    white-space: nowrap;
}

.service-name-col {
    width: 45%;
}

.standard-price-col {
    width: 27.5%;
}

.stylist-price-col {
    width: 27.5%;
}

.services-table tbody {
    background: #fff;
}

.services-table tbody tr {
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.15s ease;
    background: #fff;
}

.services-table tbody tr:hover {
    background: #f8f9fa;
}

.services-table tbody tr.row-selected {
    background: #e7f3ff;
    border-left: 3px solid #2d7a8f;
}

.services-table tbody tr.row-selected:hover {
    background: #d0e7f7;
}

.services-table tbody td {
    padding: 16px 20px;
    vertical-align: middle;
}

@media (max-width: 1200px) {
    .services-selection-container,
    .full-page-form .services-selection-container {
        flex-direction: column;
        min-height: 0;
    }

    .categories-sidebar,
    .full-page-form .categories-sidebar {
        width: 100%;
        max-height: 260px;
        border-right: none;
        border-bottom: 2px solid #e9ecef;
    }

    .services-list-panel,
    .full-page-form .services-list-panel {
        width: 100%;
        max-height: none;
        padding: 18px;
    }

    .category-header {
        gap: 12px;
        flex-wrap: wrap;
    }

    .services-table-container {
        width: 100%;
    }
}

.service-name-cell {
    font-weight: 500;
}

.service-checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.service-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #2d7a8f;
    flex-shrink: 0;
}

.service-checkbox-label .service-name {
    font-weight: 500;
    color: #212529;
    font-size: 14px;
}

.services-table tbody tr.row-selected .service-checkbox-label .service-name {
    color: #1a4d5e;
    font-weight: 600;
}

.standard-price-cell {
    font-weight: 500;
}

.standard-price {
    color: #495057;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
}

.stylist-price-cell {
    position: relative;
}

.stylist-price-input-wrapper {
    width: 100%;
    max-width: 200px;
}

.stylist-price-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-weight: 500;
    font-size: 14px;
    color: #212529;
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.stylist-price-input:focus {
    outline: none;
    border-color: #2d7a8f;
    box-shadow: 0 0 0 0.2rem rgba(45, 122, 143, 0.25);
}

.stylist-price-input::placeholder {
    color: #adb5bd;
    font-weight: 400;
}

.stylist-price-placeholder {
    color: #adb5bd;
    font-style: italic;
    font-size: 14px;
    font-weight: 400;
    display: inline-block;
}

.service-card {
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.service-card:hover {
    border-color: #2d7a8f;
    box-shadow: 0 4px 12px rgba(45, 122, 143, 0.15);
    transform: translateY(-2px);
}

.service-card input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* Highlight the entire service card when checked */
.service-card:has(input[type="checkbox"]:checked) {
    background: linear-gradient(135deg, #e3f2fd 0%, #f0f8ff 100%);
    border-color: #2d7a8f;
    box-shadow: 0 4px 12px rgba(45, 122, 143, 0.2);
}

/* Remove inner label highlighting - whole card is highlighted now */
.service-card input[type="checkbox"]:checked + .service-label {
    background: transparent;
    border: none;
}

/* Removed checkmark from service-card - just highlight instead */

/* Services List Page Styles */
.services-page-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Categories List Page Styles */
.categories-page-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.categories-table-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.06);
    border: 1px solid #e9ecef;
    overflow: hidden;
    transition: all 0.3s ease;
}

.categories-table-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.08);
}

.categories-table-wrapper {
    overflow-x: auto;
}

.categories-list-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.categories-list-table thead {
    background: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
}

.categories-list-table thead th {
    padding: 16px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    color: #495057;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.categories-list-table thead th i {
    margin-right: 8px;
    color: #2d7a8f;
    font-size: 12px;
}

.categories-list-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
}

.categories-list-table tbody tr:hover {
    background: #f8f9fa;
}

.categories-list-table tbody tr:last-child {
    border-bottom: none;
}

.categories-list-table tbody td {
    padding: 18px 20px;
    vertical-align: middle;
}

.category-name-cell {
    font-weight: 600;
    color: #212529;
}

.category-name-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.category-row-icon {
    color: #2d7a8f;
    font-size: 16px;
}

.category-name-text {
    font-size: 15px;
    color: #212529;
}

.category-count-cell {
    text-align: center;
}

.count-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #e3f2fd 0%, #f0f8ff 100%);
    color: #2d7a8f;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid #b3d9e6;
}

.count-badge i {
    font-size: 12px;
}

.category-actions-cell {
    white-space: nowrap;
}

/* Category Search Form */
.category-search-form {
    display: flex;
    align-items: center;
    margin-right: 15px;
}

.category-search-form .search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.category-search-form .search-icon {
    position: absolute;
    left: 12px;
    color: #6c757d;
    font-size: 14px;
    z-index: 1;
    pointer-events: none;
}

.category-search-form .search-input {
    padding: 10px 40px 10px 38px;
    border: 2px solid #dee2e6;
    border-radius: 6px;
    font-size: 14px;
    width: 280px;
    transition: all 0.3s ease;
    background: #fff;
    color: #212529;
}

.category-search-form .search-input:focus {
    outline: none;
    border-color: #2d7a8f;
    box-shadow: 0 0 0 3px rgba(45, 122, 143, 0.1);
}

.category-search-form .search-input::placeholder {
    color: #adb5bd;
}

.category-search-form .search-clear {
    position: absolute;
    right: 10px;
    color: #6c757d;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    transition: all 0.2s ease;
    z-index: 1;
}

.category-search-form .search-clear:hover {
    background: #f0f0f0;
    color: #495057;
}

.category-search-form .search-clear i {
    font-size: 12px;
}

/* Customer Records Page Styles */
.customer-records-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.customer-records-table-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.06);
    border: 1px solid #e9ecef;
    overflow: hidden;
    transition: all 0.3s ease;
}

.customer-records-table-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.08);
}

.customer-records-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.customer-records-table thead {
    background: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
}

.customer-records-table thead th {
    padding: 16px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    color: #495057;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.customer-records-table thead th i {
    margin-right: 8px;
    color: #2d7a8f;
    font-size: 12px;
}

.customer-records-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
}

.customer-records-table tbody tr:hover {
    background: #f8f9fa;
}

.customer-records-table tbody tr:last-child {
    border-bottom: none;
}

.customer-records-table tbody td {
    padding: 18px 20px;
    vertical-align: middle;
}

.record-name-cell {
    font-weight: 600;
    color: #212529;
}

.record-name-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.record-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2d7a8f 0%, #1a4d5e 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.record-name-text {
    font-size: 15px;
    color: #212529;
}

.record-phone-cell {
    white-space: nowrap;
}

.phone-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2d7a8f;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.phone-link:hover {
    color: #1a4d5e;
    text-decoration: underline;
}

.phone-link i {
    font-size: 14px;
}

.record-email-cell {
    white-space: nowrap;
}

.email-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2d7a8f;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.email-link:hover {
    color: #1a4d5e;
    text-decoration: underline;
}

.email-link i {
    font-size: 14px;
}

.record-address-cell {
    max-width: 300px;
}

.address-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #495057;
    font-size: 14px;
}

.address-text i {
    color: #6c757d;
    font-size: 12px;
}

.empty-field {
    color: #adb5bd;
    font-style: italic;
}

.customer-record-search-form {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.customer-record-search-form .search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.customer-record-search-form .search-icon {
    position: absolute;
    left: 12px;
    color: #6c757d;
    font-size: 14px;
    z-index: 1;
    pointer-events: none;
}

.customer-record-search-form .search-input {
    padding: 10px 40px 10px 38px;
    border: 2px solid #dee2e6;
    border-radius: 6px;
    font-size: 14px;
    width: 250px;
    transition: all 0.3s ease;
    background: #fff;
    color: #212529;
}

.customer-record-search-form .search-input:focus {
    outline: none;
    border-color: #2d7a8f;
    box-shadow: 0 0 0 3px rgba(45, 122, 143, 0.1);
}

.customer-record-search-form .search-input::placeholder {
    color: #adb5bd;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .customer-record-search-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .customer-record-search-form .search-input {
        width: 100%;
    }
    
    .customer-records-table {
        font-size: 14px;
    }
    
    .customer-records-table thead th,
    .customer-records-table tbody td {
        padding: 12px 15px;
    }
}

/* Service Search Form */
.service-search-form {
    display: flex;
    align-items: center;
    margin-right: 15px;
}

.service-search-form .search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.service-search-form .search-icon {
    position: absolute;
    left: 12px;
    color: #6c757d;
    font-size: 14px;
    z-index: 1;
    pointer-events: none;
}

.service-search-form .search-input {
    padding: 10px 40px 10px 38px;
    border: 2px solid #dee2e6;
    border-radius: 6px;
    font-size: 14px;
    width: 300px;
    transition: all 0.3s ease;
    background: #fff;
    color: #212529;
}

.service-search-form .search-input:focus {
    outline: none;
    border-color: #2d7a8f;
    box-shadow: 0 0 0 3px rgba(45, 122, 143, 0.1);
}

.service-search-form .search-input::placeholder {
    color: #adb5bd;
}

.service-search-form .search-clear {
    position: absolute;
    right: 10px;
    color: #6c757d;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    transition: all 0.2s ease;
    z-index: 1;
}

.service-search-form .search-clear:hover {
    background: #f0f0f0;
    color: #495057;
}

.service-search-form .search-clear i {
    font-size: 12px;
}

.service-category-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.06);
    border: 1px solid #e9ecef;
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-category-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.category-card-header {
    background: linear-gradient(135deg, #2d7a8f 0%, #1a4d5e 100%);
    padding: 20px 25px;
    border-bottom: 2px solid #1a4d5e;
}

.category-header-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.category-icon {
    font-size: 20px;
    color: #fff;
    opacity: 0.9;
}

.category-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    flex: 1;
}

.category-badge {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.services-table-wrapper {
    overflow-x: auto;
}

.services-list-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.services-list-table thead {
    background: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
}

.services-list-table thead th {
    padding: 16px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    color: #495057;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.services-list-table thead th i {
    margin-right: 8px;
    color: #2d7a8f;
    font-size: 12px;
}

.services-list-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
}

.services-list-table tbody tr:hover {
    background: #f8f9fa;
}

.services-list-table tbody tr:last-child {
    border-bottom: none;
}

.services-list-table tbody td {
    padding: 18px 20px;
    vertical-align: middle;
}

.service-name-cell {
    font-weight: 600;
    color: #212529;
}

.service-name-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-name-text {
    font-size: 15px;
    color: #212529;
}

.price-badge {
    display: inline-block;
    background: linear-gradient(135deg, #e3f2fd 0%, #f0f8ff 100%);
    color: #2d7a8f;
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid #b3d9e6;
}

.duration-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f8f9fa;
    color: #495057;
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    border: 1px solid #dee2e6;
}

.duration-badge i {
    font-size: 12px;
    opacity: 0.7;
}

.service-actions-cell {
    white-space: nowrap;
}

.action-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-action {
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    white-space: nowrap;
    min-width: 100px;
    height: 38px;
    box-sizing: border-box;
}

.btn-action i {
    font-size: 12px;
}

.btn-edit {
    background: #2d7a8f;
    color: #fff;
}

.btn-edit:hover {
    background: #1a4d5e;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(45, 122, 143, 0.3);
}

.btn-delete {
    background: #dc3545;
    color: #fff;
}

.btn-delete:hover {
    background: #c82333;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

.empty-row {
    text-align: center;
    padding: 40px 20px !important;
}

.empty-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #6c757d;
    font-size: 14px;
}

.empty-message i {
    font-size: 32px;
    opacity: 0.5;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

.empty-state-icon {
    font-size: 64px;
    color: #dee2e6;
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 24px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 10px;
}

.empty-state p {
    font-size: 16px;
    color: #6c757d;
    margin-bottom: 25px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .services-list-table {
        font-size: 14px;
    }
    
    .services-list-table thead th,
    .services-list-table tbody td {
        padding: 12px 15px;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 8px;
    }
    
    .btn-action {
        width: 100%;
        justify-content: center;
    }
    
    .category-header-content {
        flex-wrap: wrap;
    }
    
    .page-actions {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .service-search-form {
        margin-right: 0;
        width: 100%;
    }
    
    .service-search-form .search-input {
        width: 100%;
    }
    
    .category-search-form {
        margin-right: 0;
        width: 100%;
    }
    
    .category-search-form .search-input {
        width: 100%;
    }
}

.service-label {
    display: block;
    cursor: pointer;
    position: relative;
    padding: 10px;
    border-radius: 6px;
    transition: all 0.3s;
}

.service-name {
    font-size: 15px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 10px;
    line-height: 1.4;
}

.service-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.service-price {
    font-size: 16px;
    font-weight: 700;
    color: #2d7a8f;
}

.service-duration {
    font-size: 13px;
    color: #6c757d;
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 500;
}

/* Address Searchable Dropdown */
.address-select-wrapper {
    position: relative;
}

.address-search-input {
    cursor: pointer;
    position: relative;
}

.address-search-input:focus {
    border-color: #2d7a8f;
    box-shadow: 0 0 0 3px rgba(45, 122, 143, 0.1);
}

.address-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ced4da;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    margin-top: 4px;
    max-height: 300px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.address-search-container {
    padding: 10px;
    border-bottom: 1px solid #e9ecef;
    background: #f8f9fa;
}

.address-search-bar {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 14px;
}

.address-search-bar:focus {
    outline: none;
    border-color: #2d7a8f;
    box-shadow: 0 0 0 2px rgba(45, 122, 143, 0.1);
}

.address-options-list {
    max-height: 250px;
    overflow-y: auto;
    padding: 5px 0;
}

.address-option {
    padding: 10px 15px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s;
    border-bottom: 1px solid #f0f0f0;
}

.address-option:hover {
    background: #f8f9fa;
}

.address-option:last-child {
    border-bottom: none;
}

.address-option-other {
    background: #e7f3ff;
    font-weight: 600;
    color: #2d7a8f;
    border-top: 2px solid #2d7a8f;
}

.address-option-other:hover {
    background: #d0e7ff;
}

.address-option-other i {
    margin-right: 8px;
}

.custom-address-container {
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #dee2e6;
}

.custom-address-container .btn-sm {
    padding: 6px 12px;
    font-size: 13px;
}

/* Stylist Searchable Dropdown */
.stylist-dropdown-wrapper {
    position: relative;
    width: 100%;
}

.stylist-search-input {
    cursor: pointer;
    background: #fff;
}

.stylist-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 2px solid #2d7a8f;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    margin-top: 4px;
    max-height: 300px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.stylist-search-container {
    padding: 10px;
    border-bottom: 1px solid #e9ecef;
    background: #f8f9fa;
}

.stylist-search-bar {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 14px;
}

.stylist-search-bar:focus {
    outline: none;
    border-color: #2d7a8f;
    box-shadow: 0 0 0 2px rgba(45, 122, 143, 0.1);
}

.stylist-options-list {
    max-height: 250px;
    overflow-y: auto;
    padding: 5px 0;
}

.stylist-option {
    padding: 10px 15px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.stylist-option:hover {
    background: #f8f9fa;
}

.stylist-option:last-child {
    border-bottom: none;
}

.stylist-option i {
    color: #2d7a8f;
    font-size: 14px;
}

.stylist-option span {
    flex: 1;
}

/* Barber Schedule Styles */
.schedule-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
    min-width: 0;
}

.schedule-filters-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
    min-width: 0;
}

.filter-form {
    margin: 0;
}

.filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 10px;
    font-size: 14px;
}

.filter-group label i {
    color: #2d7a8f;
    font-size: 16px;
}

.filter-select,
.filter-date,
.filter-search {
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 15px;
}

.filter-search {
    width: 100%;
}

.filter-actions {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 10px;
}

.filter-actions .btn {
    padding: 12px 20px;
    white-space: nowrap;
    transition: all 0.3s;
    background: #fff;
}


.filter-select:focus,
.filter-date:focus,
.filter-search:focus {
    outline: none;
    border-color: #2d7a8f;
    box-shadow: 0 0 0 3px rgba(45, 122, 143, 0.1);
}

.schedule-summary-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.summary-header-card {
    background: linear-gradient(135deg, #2d7a8f 0%, #1a4d5e 100%);
    border-radius: 12px;
    padding: 25px;
    color: #fff;
    box-shadow: 0 4px 12px rgba(45, 122, 143, 0.3);
}

.barber-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.barber-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.barber-details h2 {
    margin: 0 0 8px 0;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
}

.schedule-date {
    margin: 0;
    font-size: 16px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 8px;
}

.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
    transition: all 0.3s;
    min-width: 140px;
}

.schedule-stats-top .stat-card {
    padding: 15px 18px;
    gap: 12px;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.08);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    flex-shrink: 0;
}

.schedule-stats-top .stat-icon {
    width: 45px;
    height: 45px;
    font-size: 18px;
}

.stat-total .stat-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.stat-booked .stat-icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.stat-free .stat-icon {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.stat-content {
    flex: 1;
    min-width: 0;
}

.stat-label {
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
    margin-bottom: 4px;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #212529;
    line-height: 1;
}

.schedule-stats-top .stat-label {
    font-size: 11px;
    margin-bottom: 3px;
}

.schedule-stats-top .stat-value {
    font-size: 24px;
}

.schedule-cards-container {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
    min-width: 0;
    overflow: hidden;
}

.schedule-header {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.schedule-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #212529;
    display: flex;
    align-items: center;
    gap: 10px;
}

.schedule-header h3 i {
    color: #2d7a8f;
}

.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

.time-slot-card {
    background: #28a745;
    border-radius: 8px;
    border: 2px solid #28a745;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    min-height: 50px;
}

.time-slot-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.time-slot-card.slot-free {
    background: #28a745;
    border-color: #28a745;
    color: #fff;
}

.time-slot-card.slot-free-clickable {
    cursor: pointer;
}

.time-slot-card.slot-free-clickable:hover {
    background: #218838;
    border-color: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
}

.time-slot-card.slot-booked {
    background: #dc3545;
    border-color: #dc3545;
    color: #fff;
}

.time-slot-card.slot-booking {
    background: #ff9800;
    border-color: #ff9800;
    color: #fff;
}

.time-slot-card.slot-walkin {
    background: #e91e63;
    border-color: #e91e63;
    color: #fff;
}

.time-slot-card.slot-clickable {
    cursor: pointer;
}

.time-slot-card.slot-clickable:hover {
    background: #c82333;
    border-color: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

.time-slot-card.slot-booking.slot-clickable:hover {
    background: #f57c00;
    border-color: #f57c00;
    box-shadow: 0 4px 8px rgba(255, 152, 0, 0.3);
}

.time-slot-card.slot-walkin.slot-clickable:hover {
    background: #c2185b;
    border-color: #c2185b;
    box-shadow: 0 4px 8px rgba(233, 30, 99, 0.3);
}

/* Booking Details Modal Styles */
.booking-details-card {
    padding: 10px 0;
}

.detail-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.detail-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.detail-section h4 {
    font-size: 16px;
    font-weight: 700;
    color: #2d7a8f;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-section h4 i {
    font-size: 14px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    gap: 15px;
}

.detail-label {
    font-weight: 600;
    color: #6c757d;
    font-size: 14px;
    min-width: 120px;
}

.detail-value {
    color: #212529;
    font-size: 14px;
    text-align: right;
    flex: 1;
}

.detail-value a {
    color: #2d7a8f;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.detail-value a:hover {
    color: #1a4d5e;
    text-decoration: underline;
}

.services-list-detail {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.services-list-detail .service-tag {
    background: #e7f3f6;
    color: #2d7a8f;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid #b3d9e6;
}

.payment-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
}

.payment-badge.payment-paid {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.payment-badge.payment-unpaid {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.text-muted {
    color: #6c757d;
    font-style: italic;
}

.slot-time-text {
    font-weight: 600;
    font-size: 13px;
    text-align: center;
    white-space: nowrap;
}

.slot-header {
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.slot-time {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 15px;
    color: #212529;
}

.slot-time i {
    color: #2d7a8f;
    font-size: 16px;
}

.slot-status {
    flex-shrink: 0;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.status-badge i {
    font-size: 10px;
}

.status-badge.status-booked {
    background: #fee;
    color: #c82333;
    border: 1px solid #f5c6cb;
}

.status-badge.status-free {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.slot-body {
    padding: 20px;
}

.slot-customer {
    display: flex;
    align-items: center;
    gap: 15px;
}

.customer-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2d7a8f 0%, #1a4d5e 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(45, 122, 143, 0.3);
}

.customer-details {
    flex: 1;
    min-width: 0;
}

.customer-name {
    font-weight: 600;
    font-size: 15px;
    color: #212529;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.customer-phone {
    color: #2d7a8f;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    font-family: 'Courier New', monospace;
    transition: color 0.2s;
}

.customer-phone:hover {
    color: #1a4d5e;
    text-decoration: underline;
}

.customer-phone i {
    font-size: 11px;
}

.slot-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
}

.empty-slot-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #adb5bd;
    font-size: 14px;
}

.empty-slot-message i {
    font-size: 24px;
    margin-bottom: 4px;
}

.empty-slot-message span {
    font-weight: 500;
}

.empty-state-card {
    background: #fff;
    border-radius: 12px;
    padding: 60px 30px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
}

.empty-state-icon {
    font-size: 64px;
    color: #adb5bd;
    margin-bottom: 20px;
}

.empty-state-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 10px;
}

.empty-state-card p {
    color: #6c757d;
    font-size: 16px;
    margin: 0;
}

@media (max-width: 768px) {
    .filter-row {
        grid-template-columns: 1fr;
    }
    
    .page-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .schedule-stats-top {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        width: 100%;
        margin-top: 15px;
    }
    
    .schedule-stats-top .stat-card {
        min-width: 0;
        padding: 12px 15px;
    }
    
    .schedule-stats-top .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .schedule-stats-top .stat-label {
        font-size: 10px;
    }
    
    .schedule-stats-top .stat-value {
        font-size: 20px;
    }
    
    .stats-cards {
        grid-template-columns: 1fr;
    }
    
    .time-slots-grid {
        grid-template-columns: 1fr;
    }
    
    .schedule-cards-container {
        padding: 15px;
    }
    
    .time-slots-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 10px;
    }
    
    .time-slot-card {
        padding: 10px 12px;
        min-height: 45px;
    }
    
    .slot-time-text {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .schedule-filters-card,
    .schedule-cards-container {
        padding: 16px;
        border-radius: 8px;
    }

    .schedule-stats-top {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .schedule-stats-top .stat-card {
        width: 100%;
    }

    .filter-select,
    .filter-date,
    .filter-search {
        width: 100%;
        min-width: 0;
    }
}

/* Customer Page Styles */
.page-stats {
    display: flex;
    gap: 15px;
    align-items: center;
}

.date-filter-form {
    display: flex;
    align-items: center;
}

.date-filter-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 10px 12px;
    transition: all 0.3s;
    min-width: 200px;
    overflow: hidden;
}

.date-filter-wrapper:hover {
    border-color: #2d7a8f;
    box-shadow: 0 2px 8px rgba(45, 122, 143, 0.1);
}

.date-filter-wrapper i.fa-calendar-alt {
    color: #2d7a8f;
    font-size: 16px;
    margin-right: 10px;
    flex-shrink: 0;
}

.date-filter-input {
    border: none;
    outline: none;
    font-size: 14px;
    color: #212529;
    font-weight: 500;
    flex: 1;
    background: transparent;
    padding: 0;
    min-width: 0;
    width: 100%;
}

.date-filter-input::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.6;
    margin-left: 5px;
}

.date-filter-input::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

.date-filter-wrapper .clear-date {
    margin-left: 8px;
    color: #6c757d;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    transition: all 0.3s;
    flex-shrink: 0;
    cursor: pointer;
}

.date-filter-wrapper .clear-date:hover {
    background: #f8f9fa;
    color: #dc3545;
}

.stat-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #f8f9fa;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #495057;
}

.stat-badge i {
    color: #2d7a8f;
}

.customer-tabs-container {
    background: #fff;
    border-radius: 12px;
    padding: 10px;
    margin-bottom: 25px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
}

.customer-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.customer-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    color: #6c757d;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s;
    border: 2px solid transparent;
    position: relative;
}

.customer-tab .tab-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 4px;
}

.customer-tab.active .tab-count {
    background: rgba(255, 255, 255, 0.25);
}

.customer-tab:hover {
    background: #f8f9fa;
    color: #2d7a8f;
}

.customer-tab.active {
    background: linear-gradient(135deg, #2d7a8f 0%, #1a4d5e 100%);
    color: #fff !important;
    border-color: #2d7a8f;
    box-shadow: 0 4px 8px rgba(45, 122, 143, 0.2);
}

.customer-tab.active span {
    color: #fff !important;
}

.customer-list-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
    overflow: hidden;
}

.customer-list-header {
    padding: 25px;
    background: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-left h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #212529;
    display: flex;
    align-items: center;
    gap: 10px;
}

.customer-count-badge {
    padding: 6px 12px;
    background: #2d7a8f;
    color: #fff;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.customer-search-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.search-input-wrapper i {
    position: absolute;
    left: 15px;
    color: #6c757d;
    font-size: 14px;
    z-index: 1;
    pointer-events: none;
}

.search-input {
    padding: 10px 40px 10px 40px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    width: 300px;
    transition: all 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: #2d7a8f;
    box-shadow: 0 0 0 3px rgba(45, 122, 143, 0.1);
}

.clear-search {
    position: absolute;
    right: 12px;
    color: #6c757d;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    transition: all 0.3s;
    z-index: 2;
    cursor: pointer;
}

.clear-search:hover {
    color: #dc3545;
    background: #f8f9fa;
}

.btn-search {
    padding: 10px 20px;
    background: #2d7a8f;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.btn-search:hover {
    background: #1a4d5e;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(45, 122, 143, 0.3);
}

.table-wrapper {
    overflow-x: auto;
}

.customer-table {
    width: 100%;
    border-collapse: collapse;
}

.customer-table thead {
    background: #f8f9fa;
}

.customer-table thead th {
    padding: 18px 20px;
    text-align: left;
    font-weight: 700;
    font-size: 13px;
    color: #495057;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #dee2e6;
    white-space: nowrap;
}

.customer-table thead th i {
    margin-right: 8px;
    color: #2d7a8f;
    font-size: 12px;
}

.customer-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s;
}

.customer-table tbody tr:hover {
    background: #f8f9fa;
}

.customer-table tbody td {
    padding: 18px 20px;
    font-size: 14px;
    color: #495057;
    vertical-align: middle;
}

.checkbox-col {
    width: 50px;
    text-align: center;
}

.checkbox-input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #2d7a8f;
}

.type-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.type-badge i {
    font-size: 11px;
}

.type-badge.type-booking {
    background: #e3f2fd;
    color: #1976d2;
    border: 1px solid #bbdefb;
}

.type-badge.type-walkin {
    background: #fff3e0;
    color: #f57c00;
    border: 1px solid #ffe0b2;
}

.customer-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.customer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2d7a8f 0%, #1a4d5e 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(45, 122, 143, 0.3);
}

.customer-name {
    font-weight: 600;
    color: #212529;
}

.phone-link {
    color: #2d7a8f;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    transition: color 0.2s;
}

.phone-link:hover {
    color: #1a4d5e;
    text-decoration: underline;
}

.phone-link i {
    font-size: 12px;
}

.date-time-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.date-value {
    font-weight: 500;
    color: #212529;
    font-size: 14px;
}

.time-value {
    font-size: 12px;
    color: #6c757d;
}

.date-info {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
    font-weight: 500;
}

.date-info i {
    color: #6c757d;
    font-size: 12px;
}

.time-info {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #6c757d;
}

.time-info i {
    font-size: 11px;
}

.services-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.service-tag {
    padding: 4px 10px;
    background: #e9ecef;
    color: #495057;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.service-more {
    padding: 4px 10px;
    background: #2d7a8f;
    color: #fff;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.barber-name {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 400;
    color: #495057;
}

/* Ensure barber names in all tables are not too bold */
.barber-cell,
td.barber-cell {
    font-weight: 400;
}

.barber-cell .barber-name,
td .barber-name,
.barber-cell span,
.barber-cell {
    font-weight: 400 !important;
}

/* Make barber names in all table contexts normal weight */
table .barber-name,
.barber-name {
    font-weight: 400 !important;
}

.barber-name i {
    color: #2d7a8f;
    font-size: 12px;
}

.barber-name.empty {
    color: #adb5bd;
    font-style: italic;
}

/* Customer table barber name - ensure black color */
.customer-table .barber-cell .barber-name {
    color: #212529 !important;
    font-weight: 400;
}

.customer-table .barber-cell .barber-name.empty {
    color: #adb5bd !important;
}

.amount-value {
    font-weight: 700;
    color: #212529;
    font-size: 15px;
}

.payment-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
}

.payment-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.payment-badge.payment-paid {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.payment-badge.payment-unpaid {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.payment-method-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.payment-method-badge.payment-method-cash {
    background: #e7f3ff;
    color: #0066cc;
    border: 1px solid #b3d9ff;
}

.payment-method-badge.payment-method-card {
    background: #fff4e6;
    color: #cc6600;
    border: 1px solid #ffd9b3;
}

.bulk-actions-bar {
    padding: 20px 25px;
    background: #f8f9fa;
    border-top: 2px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.selected-count {
    display: flex;
    align-items: center;
    color: #495057;
    font-weight: 600;
    font-size: 14px;
}

.btn-delete-bulk {
    padding: 10px 20px;
    background: #dc3545;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    transition: all 0.3s;
}

.btn-delete-bulk:hover:not(:disabled) {
    background: #c82333;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

.btn-delete-bulk:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.empty-state {
    padding: 60px 30px;
    text-align: center;
}

.empty-state-icon {
    font-size: 64px;
    color: #adb5bd;
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 24px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 10px;
}

.empty-state p {
    color: #6c757d;
    font-size: 16px;
    margin-bottom: 20px;
}

.btn-clear-search {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #2d7a8f;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-clear-search:hover {
    background: #1a4d5e;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(45, 122, 143, 0.3);
}

@media (max-width: 768px) {
    .customer-list-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .customer-search-form {
        flex-direction: column;
        width: 100%;
    }
    
    .search-input {
        width: 100%;
    }
    
    .btn-search {
        width: 100%;
        justify-content: center;
    }
    
    .page-header-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .page-stats {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }
    
    .page-stats .stat-card {
        width: 100%;
        min-width: auto;
    }
    
    .date-filter-form {
        width: 100%;
    }
    
    .date-filter-wrapper {
        width: 100%;
    }
    
    .customer-tabs {
        flex-direction: column;
    }
    
    .customer-tab {
        width: 100%;
        justify-content: center;
    }
    
    .table-wrapper {
        overflow-x: scroll;
    }
    
    .customer-table {
        min-width: 800px;
    }
    
    .bulk-actions-bar {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .btn-delete-bulk {
        width: 100%;
        justify-content: center;
    }
}

/* Shared responsive foundation */
@media (min-width: 769px) and (max-width: 1200px) {
    .top-header {
        align-items: center;
    }

    .header-left {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 2px;
    }

    .btn-header {
        flex: 0 0 auto;
        white-space: nowrap;
    }
}

@media (max-width: 1024px) {
    .content-wrapper {
        padding: 24px;
    }

    .top-header {
        padding: 14px 20px;
        gap: 14px;
    }

    .header-left,
    .header-right {
        min-width: 0;
    }
}

@media (max-width: 768px) {
    body.sidebar-open {
        overflow: hidden;
    }

    .app-container {
        display: block;
        min-width: 0;
        width: 100%;
    }

    .sidebar {
        width: min(86vw, 320px);
        max-width: 320px;
        height: 100dvh;
        transform: translateX(-105%);
        transition: transform 0.25s ease;
        z-index: 1200;
    }

    body.sidebar-open .sidebar {
        transform: translateX(0);
    }

    .mobile-sidebar-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.45);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.25s ease;
        z-index: 1190;
    }

    body.sidebar-open .mobile-sidebar-overlay {
        opacity: 1;
        pointer-events: auto;
    }

    .main-content {
        margin-left: 0;
        width: 100%;
        min-width: 0;
    }

    .top-header {
        position: sticky;
        top: 0;
        display: grid;
        grid-template-columns: 42px minmax(0, 1fr);
        align-items: start;
        gap: 10px;
        padding: 12px;
        z-index: 900;
    }

    .mobile-menu-toggle {
        display: inline-flex;
    }

    .header-left {
        grid-column: 2;
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 8px;
        padding-bottom: 2px;
        width: 100%;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
    }

    .header-right {
        grid-column: 1 / -1;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        width: 100%;
        justify-content: space-between;
    }

    .btn-header,
    .btn-reservations {
        min-height: 40px;
        padding: 8px 12px;
        font-size: 12px;
        white-space: nowrap;
        flex: 0 0 auto;
    }

    .btn-header .btn-icon,
    .btn-reservations .btn-icon {
        font-size: 14px;
    }

    .user-profile {
        min-width: 0;
        gap: 8px;
    }

    .user-avatar {
        width: 36px;
        height: 36px;
        flex: 0 0 36px;
    }

    .user-info {
        min-width: 0;
    }

    .user-name,
    .user-role {
        max-width: 140px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .content-wrapper {
        padding: 18px 14px;
        overflow-x: hidden;
    }

    .page-header,
    .page-header-content {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        margin-bottom: 20px;
    }

    .page-title {
        font-size: 24px;
        line-height: 1.2;
        overflow-wrap: anywhere;
    }

    .page-subtitle {
        overflow-wrap: anywhere;
    }

    .page-actions,
    .filter-actions,
    .form-actions {
        width: 100%;
        gap: 10px;
    }

    .page-actions .btn,
    .filter-actions .btn,
    .form-actions .btn,
    .btn-search,
    .btn-clear-search {
        width: 100%;
        justify-content: center;
    }

    .search-input-wrapper,
    .search-input,
    .barber-search-form,
    .customer-search-form,
    .date-filter-form,
    .date-filter-wrapper {
        width: 100%;
        min-width: 0;
    }

    .table-responsive,
    .table-wrapper,
    .report-table-wrapper,
    .schedule-table-wrapper,
    .list-content {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .data-table,
    .customer-table,
    .list-table,
    .modern-report-table,
    .schedule-table {
        min-width: 720px;
    }

    .bulk-actions-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 16px;
    }

    .selected-count {
        justify-content: center;
        text-align: center;
    }

    .modal {
        align-items: flex-start;
        padding: 12px;
    }

    .modal-content,
    .modal-large,
    .modal-medium {
        width: 100%;
        max-width: 100%;
        max-height: calc(100dvh - 24px);
        padding: 20px;
    }

    .modal-header {
        gap: 12px;
        align-items: flex-start;
    }

    .modal-header h2,
    .modal-title {
        font-size: 20px;
        line-height: 1.2;
    }

    .modal-footer {
        flex-direction: column-reverse;
        gap: 10px;
    }

    .modal-footer .btn {
        width: 100%;
        justify-content: center;
    }

    .alert-toast {
        left: 12px;
        right: 12px;
        max-width: none;
        width: auto;
    }

    .reservations-sidebar-content {
        width: min(100%, 430px);
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .content-wrapper {
        padding: 14px 10px;
    }

    .top-header {
        padding: 10px;
    }

    .header-right {
        align-items: stretch;
    }

    .btn-reservations {
        flex: 1 1 160px;
    }

    .user-profile {
        flex: 1 1 150px;
        justify-content: flex-end;
    }

    .page-title {
        font-size: 22px;
    }

    .modal-content,
    .modal-large,
    .modal-medium {
        padding: 16px;
    }

    .booking-page-container {
        padding: 10px !important;
    }

    .walkin-page-container {
        padding: 10px !important;
    }

    .form-section {
        padding: 14px !important;
    }

    #timeSlotsGrid,
    .slot-grid,
    .time-slots-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Barber Form Styles */
.barber-form-wrapper {
    width: 100%;
    margin: 0;
    padding: 0;
}

.full-page-form {
    width: 100%;
    margin: 0;
}

.form-container-full {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.form-help-text {
    color: #6c757d;
    font-size: 13px;
    margin-top: 5px;
    margin-bottom: 15px;
}

.working-days-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.full-page-form .working-days-grid {
    grid-template-columns: repeat(7, 1fr);
    gap: 15px;
}

.day-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    background: #fff;
}

.day-checkbox-label:hover {
    border-color: #2d7a8f;
    background: #f8f9fa;
}

.day-checkbox-label input[type="checkbox"]:checked + .day-label {
    color: #2d7a8f;
    font-weight: 600;
}

.day-checkbox-label input[type="checkbox"]:checked ~ .day-label,
.day-checkbox-label:has(input[type="checkbox"]:checked) {
    border-color: #2d7a8f;
    background: #e3f2fd;
}

.day-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #2d7a8f;
}

.day-label {
    font-weight: 500;
    color: #495057;
    user-select: none;
}

.service-item-wrapper {
    margin-bottom: 0;
}

.service-checkbox-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    background: #fff;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: relative;
}

.service-checkbox-item:hover {
    border-color: #2d7a8f;
    background: #f8f9fa;
    box-shadow: 0 4px 12px rgba(45, 122, 143, 0.15);
    transform: translateY(-2px);
}

.service-checkbox-item input[type="checkbox"]:checked ~ .service-label,
.service-checkbox-item:has(input[type="checkbox"]:checked) {
    border-color: #2d7a8f;
    background: linear-gradient(135deg, #e3f2fd 0%, #f0f8ff 100%);
    box-shadow: 0 4px 12px rgba(45, 122, 143, 0.2);
    /* Removed checkmark - just highlight */
}

/* Removed checkmark icon - just highlight instead */

.service-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #2d7a8f;
    flex-shrink: 0;
}

.service-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    cursor: pointer;
    user-select: none;
    gap: 15px;
}

.service-name {
    font-weight: 600;
    color: #212529;
    font-size: 15px;
    flex: 1;
}

.service-price-badge {
    padding: 6px 14px;
    background: linear-gradient(135deg, #2d7a8f 0%, #1a4d5e 100%);
    color: #fff;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(45, 122, 143, 0.3);
    white-space: nowrap;
}

.custom-price-input {
    margin-top: 12px;
    padding-left: 35px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.custom-price-field {
    max-width: 250px;
    padding: 10px 15px;
    border: 2px solid #2d7a8f;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
}

.custom-price-field:focus {
    outline: none;
    border-color: #1a4d5e;
    box-shadow: 0 0 0 3px rgba(45, 122, 143, 0.1);
}

.checkbox-label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.checkbox-label:hover {
    border-color: #2d7a8f;
    background: #f8f9fa;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #2d7a8f;
    margin-right: 10px;
}

.checkbox-label > span {
    font-weight: 600;
    color: #212529;
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .booking-page-container {
        display: block !important;
        padding: 12px !important;
        min-width: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: visible !important;
    }

    .walkin-page-container {
        display: block !important;
        padding: 12px !important;
        min-width: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: visible !important;
    }

    .booking-form-section,
    .booking-schedule-section,
    .walkin-form-section,
    .walkin-schedule-section {
        flex: 1 1 100% !important;
        min-width: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .booking-form,
    .walkin-form {
        width: 100% !important;
        max-width: 100% !important;
        gap: 18px;
    }

    .booking-form-container {
        max-width: 100%;
        width: 100%;
        padding: 0 !important;
    }

    .form-section {
        padding: 16px !important;
        margin-bottom: 16px !important;
        border-radius: 8px;
    }

    .form-section h3 {
        font-size: 16px;
        line-height: 1.3;
        overflow-wrap: anywhere;
    }

    .phone-search-wrapper,
    .service-search-wrapper,
    .address-select-wrapper,
    .selected-services,
    #selectedServicesContainer,
    #selectedServicesList,
    #bookingSelectedServices {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    #customerNotFoundBanner {
        left: 12px !important;
        right: 12px !important;
        top: 126px !important;
        min-width: 0 !important;
        max-width: none !important;
        width: auto !important;
    }

    .customer-phone-dropdown,
    .address-dropdown,
    .service-dropdown,
    .service-list {
        max-width: 100%;
        min-width: 0;
    }

    .selected-service-item,
    .summary-service-item,
    .summary-item {
        gap: 10px;
        flex-wrap: wrap;
        overflow-wrap: anywhere;
    }

    .summary-item {
        align-items: flex-start;
    }

    .services-table {
        min-width: 560px;
    }

    .booking-schedule-section .schedule-container {
        padding: 16px !important;
        max-height: none;
        overflow: visible;
    }

    .walkin-schedule-section .schedule-container,
    .walkin-schedule-section .schedule-section {
        padding: 16px !important;
        max-height: none;
        overflow: visible;
    }

    #timeSlotsGrid,
    .slot-grid,
    .time-slots-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)) !important;
        max-height: min(520px, 70dvh) !important;
        overflow-y: auto;
    }

    .form-actions {
        flex-direction: column;
        gap: 10px;
    }

    .form-actions .btn,
    .form-actions button,
    .form-actions a {
        width: 100% !important;
        justify-content: center;
    }

    .form-container-full {
        padding: 20px;
    }

    .barber-form.full-page-form .form-actions {
        margin: 18px 0 0 0 !important;
        padding: 0 !important;
        background: transparent !important;
        border-top: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    .barber-form.full-page-form .form-actions .btn {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 48px;
        padding: 13px 16px;
        border-radius: 6px;
    }
    
    .full-page-form .form-section {
        padding: 20px;
    }
    
    .services-selection-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Stack time fields on mobile */
    .time-fields-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .full-page-form .services-selection-container {
        grid-template-columns: 1fr;
    }
    
    .working-days-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .full-page-form .working-days-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .custom-price-field {
        max-width: 100%;
    }
}

@media (max-width: 1200px) {
    .full-page-form .working-days-grid,
    .working-days-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }

    .day-checkbox-label {
        min-width: 0;
    }

    .day-label {
        overflow-wrap: anywhere;
    }
}

/* Header responsive action layout */
@media (max-width: 1024px) {
    .top-header .header-left {
        display: none !important;
    }

    .top-header .header-right {
        margin-left: auto;
        justify-content: flex-end;
        flex-wrap: nowrap;
        min-width: 0;
    }
}

@media (max-width: 768px) {
    .top-header {
        grid-template-columns: 42px minmax(0, 1fr);
        align-items: center;
    }

    .top-header .header-right {
        grid-column: 2;
        grid-row: 1;
        width: auto;
        justify-self: end;
        align-items: center;
        gap: 8px;
    }

    .top-header .btn-reservations {
        flex: 0 0 auto;
    }

    .top-header .user-profile {
        flex: 0 1 auto;
        justify-content: flex-end;
    }
}

@media (max-width: 480px) {
    .top-header .header-right {
        align-items: center;
    }

    .top-header .btn-reservations {
        flex: 0 0 auto;
        padding: 8px 10px;
    }

    .top-header .user-profile {
        flex: 0 1 auto;
    }
}

/* Barbers Card Layout */
.barbers-container {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
}

.barbers-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.barbers-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #212529;
    display: flex;
    align-items: center;
    gap: 10px;
}

.barbers-header h3 i {
    color: #2d7a8f;
}

.barbers-count {
    padding: 6px 14px;
    background: #2d7a8f;
    color: #fff;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.barbers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.barber-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.barber-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
    border-color: #2d7a8f;
}

.barber-card-header {
    background: linear-gradient(135deg, #2d7a8f 0%, #1a4d5e 100%);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #fff;
}

.barber-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    border: 3px solid rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

.barber-header-info {
    flex: 1;
}

.barber-name {
    margin: 0 0 8px 0;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.barber-header-details {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.barber-detail-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.barber-detail-item i {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.barber-status-toggle-wrapper {
    margin-left: auto;
    flex-shrink: 0;
}

.status-toggle-switch {
    position: relative;
    display: inline-block;
    cursor: pointer;
    user-select: none;
}

.status-toggle-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.status-toggle-slider {
    display: flex;
    align-items: center;
    width: 90px;
    height: 32px;
    background: #dc3545;
    border-radius: 16px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #c82333;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.status-toggle-slider::before {
    content: '';
    position: absolute;
    height: 24px;
    width: 24px;
    left: 3px;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    z-index: 3;
}

.status-toggle-input:checked + .status-toggle-slider {
    background: #28a745;
    border-color: #218838;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.status-toggle-input:checked + .status-toggle-slider::before {
    transform: translateY(-50%) translateX(58px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.status-toggle-label {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    color: #ffffff;
    transition: opacity 0.25s ease;
    width: 100%;
    height: 100%;
    z-index: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    pointer-events: none;
    letter-spacing: 0.3px;
}

.status-toggle-label.status-active {
    left: 0;
    opacity: 0;
    padding-right: 30px;
}

.status-toggle-label.status-inactive {
    right: 0;
    opacity: 1;
    padding-left: 30px;
}

.status-toggle-input:checked + .status-toggle-slider .status-toggle-label.status-active {
    opacity: 1;
}

.status-toggle-input:checked + .status-toggle-slider .status-toggle-label.status-inactive {
    opacity: 0;
}

.status-toggle-switch:hover .status-toggle-slider {
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2), 0 0 0 2px rgba(255, 255, 255, 0.15);
    transform: scale(1.02);
}

.status-toggle-switch:hover .status-toggle-input:checked + .status-toggle-slider {
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 0 2px rgba(40, 167, 69, 0.25);
    transform: scale(1.02);
}

.status-toggle-switch:active .status-toggle-slider {
    transform: scale(0.98);
}

.status-toggle-switch.updating .status-toggle-slider {
    opacity: 0.7;
    cursor: wait;
    pointer-events: none;
}

.status-toggle-input:disabled {
    cursor: not-allowed;
}

.status-toggle-switch:active .status-toggle-slider::before {
    width: 26px;
    height: 26px;
}

.status-toggle-switch:active .status-toggle-input:checked + .status-toggle-slider::before {
    width: 26px;
    height: 26px;
    transform: translateY(-50%) translateX(56px);
}

.barber-card-body {
    padding: 20px;
    flex: 1;
}

.barber-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #495057;
    font-size: 14px;
}

.barber-info-item i {
    color: #2d7a8f;
    width: 18px;
    text-align: center;
}

.barber-services-section,
.barber-days-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-weight: 600;
    font-size: 14px;
    color: #212529;
}

.section-label i {
    color: #2d7a8f;
}

.service-count-badge {
    margin-left: auto;
    padding: 2px 8px;
    background: #2d7a8f;
    color: #fff;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
}

.services-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.service-tag {
    padding: 6px 12px;
    background: #e7f3ff;
    color: #1a4d5e;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid #b3d9e6;
}

.custom-price-indicator {
    color: #2d7a8f;
    font-weight: 600;
    margin-left: 4px;
}

.service-more {
    padding: 6px 12px;
    background: #2d7a8f;
    color: #fff;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
}

.no-services,
.no-days {
    color: #adb5bd;
    font-style: italic;
    font-size: 13px;
}

.working-days-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.day-badge {
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    min-width: 45px;
    text-align: center;
}

.day-badge.active {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.day-badge.inactive {
    background: #f8f9fa;
    color: #adb5bd;
    border: 1px solid #e9ecef;
}

/* Dashboard Redesign Styles */
.dashboard-date-selector {
    margin-bottom: 25px;
    display: flex;
    justify-content: flex-end;
    min-width: 0;
}

.date-selector-form {
    display: flex;
    align-items: center;
    min-width: 0;
}

.date-selector-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 10px 15px;
    transition: all 0.3s;
    min-width: 200px;
    max-width: 100%;
}

.date-selector-wrapper:hover {
    border-color: #2d7a8f;
    box-shadow: 0 2px 8px rgba(45, 122, 143, 0.1);
}

.date-selector-wrapper i {
    color: #2d7a8f;
    font-size: 16px;
    margin-right: 10px;
    flex-shrink: 0;
}

.date-selector-input {
    border: none;
    outline: none;
    font-size: 14px;
    color: #212529;
    font-weight: 500;
    flex: 1;
    background: transparent;
    padding: 0;
}

/* Dashboard Metrics Cards */
.dashboard-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.metric-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    transition: all 0.3s;
    min-width: 0;
}

.metric-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.metric-card.clickable-metric {
    cursor: pointer;
    transition: all 0.3s;
}

.metric-card.clickable-metric:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    border-color: #2d7a8f;
}

.unpaid-customers-section {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.metric-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    background: transparent;
    color: #000;
}

.metric-customers .metric-icon {
    background: transparent;
    color: #000;
}

.metric-unpaid .metric-icon {
    background: transparent;
    color: #000;
}

.metric-revenue .metric-icon {
    background: transparent;
    color: #000;
}

.metric-content {
    flex: 1;
    min-width: 0;
}

.metric-label {
    font-size: 12px;
    color: #6c757d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.metric-value {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    line-height: 1;
    overflow-wrap: anywhere;
}

/* Dashboard Schedule */
.dashboard-schedule-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    margin-bottom: 30px;
    min-width: 0;
    overflow: hidden;
}

.schedule-header {
    padding: 20px 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 2px solid #e9ecef;
    position: sticky;
    top: 0;
    z-index: 20;
}

.schedule-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #212529;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    line-height: 1.25;
}

.schedule-header h2 i {
    color: #2d7a8f;
}

.schedule-container {
    padding: 0 20px 20px 20px;
    width: 100%;
    position: relative;
    overflow: auto;
    max-height: min(700px, calc(100dvh - 240px)); /* Limit height to keep headers and scrollbar visible */
    -webkit-overflow-scrolling: touch;
}

.schedule-table-wrapper {
    width: max-content;
    min-width: 100%;
    max-width: none;
    overflow: visible;
}

.schedule-table {
    width: 100%;
    border-collapse: separate; /* Changed to separate for sticky headers to work better */
    border-spacing: 0;
    min-width: max-content;
}

/* Custom Scrollbar for Schedule */
.schedule-container::-webkit-scrollbar {
    width: 8px;
    height: 10px;
}

.schedule-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 5px;
}

.schedule-container::-webkit-scrollbar-thumb {
    background: #2d7a8f;
    border-radius: 5px;
}

.schedule-container::-webkit-scrollbar-thumb:hover {
    background: #1a4d5e;
}

.schedule-table thead th {
    position: sticky;
    top: 0; /* Sticks to the top of the schedule-container */
    z-index: 10;
    background: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    border-top: 1px solid #dee2e6;
}

.schedule-table th {
    padding: 15px 12px;
    text-align: center;
    font-weight: 700;
    font-size: 12px;
    color: #495057;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-right: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
    white-space: nowrap;
}

.schedule-table .time-column {
    background: linear-gradient(135deg, #2d7a8f 0%, #1a4d5e 100%) !important;
    color: #fff;
    min-width: 100px;
    position: sticky;
    left: 0;
    top: 0;
    z-index: 15;
    border-right: 2px solid #1a4d5e;
}

.schedule-table .barber-column {
    min-width: 180px;
}

.schedule-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
}

.schedule-table tbody tr:hover {
    background: #f8f9fa;
}

.schedule-table .time-cell {
    padding: 12px;
    text-align: center;
    font-weight: 600;
    font-size: 13px;
    color: #fff;
    background: linear-gradient(135deg, #2d7a8f 0%, #1a4d5e 100%);
    border: 1px solid #1a4d5e;
    position: sticky;
    left: 0;
    z-index: 9;
}

.schedule-table .schedule-cell {
    padding: 4px;
    text-align: center;
    border: 1px solid #f0f0f0;
    min-height: 50px;
    vertical-align: middle;
    position: relative;
    cursor: default;
}

.schedule-table .schedule-cell.booked {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    cursor: pointer;
    transition: all 0.3s;
}

.schedule-table .schedule-cell.booked-booking {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
}

.schedule-table .schedule-cell.booked-walkin {
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
}

.schedule-table .schedule-cell.booked.partial-fill {
    background: transparent;
    padding: 0;
}

.schedule-table .schedule-cell.booked:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: scale(1.05);
    z-index: 5;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.schedule-table .schedule-cell.booked-booking:hover {
    background: linear-gradient(135deg, #f57c00 0%, #ff9800 100%);
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.4);
}

.schedule-table .schedule-cell.booked-walkin:hover {
    background: linear-gradient(135deg, #c2185b 0%, #e91e63 100%);
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.4);
}

.schedule-table .schedule-cell.booked.partial-fill:hover {
    background: transparent;
}

.booking-slot {
    padding: 8px;
    color: #fff;
    font-size: 11px;
    line-height: 1.4;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    width: 100%;
    box-sizing: border-box;
}

.schedule-cell.booked-walkin .booking-slot {
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
}

.schedule-cell.booked-booking .booking-slot {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
}

.schedule-cell.partial-fill .booking-slot {
    border-radius: 4px;
}

.booking-customer {
    font-weight: 700;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.booking-time {
    font-size: 10px;
    opacity: 0.9;
    white-space: nowrap;
}

/* Dashboard Lists */
.dashboard-lists {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(500px, 100%), 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.list-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    overflow: hidden;
    min-width: 0;
}

.list-header {
    padding: 20px 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 2px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.list-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #212529;
    display: flex;
    align-items: center;
    gap: 10px;
}

.list-header h3 i {
    color: #2d7a8f;
}

.list-count {
    padding: 6px 14px;
    background: #2d7a8f;
    color: #fff;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.list-content {
    padding: 20px;
    min-width: 0;
}

.list-table {
    width: 100%;
    border-collapse: collapse;
}

.list-table thead {
    background: #f8f9fa;
}

.list-table thead th {
    padding: 12px;
    text-align: left;
    font-weight: 700;
    font-size: 12px;
    color: #495057;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #dee2e6;
}

.list-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s;
}

.list-table tbody tr:hover {
    background: #f8f9fa;
}

.list-table tbody tr.clickable-row {
    cursor: pointer;
}

.list-table tbody tr.clickable-row:hover {
    background: #e9f7f0;
    transform: translateX(2px);
    box-shadow: 0 2px 4px rgba(45, 122, 143, 0.1);
}

.list-table tbody td {
    padding: 12px;
    font-size: 14px;
    color: #212529;
    vertical-align: middle;
}

.list-card .empty-state {
    padding: 60px 30px;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 8px;
    border: 2px dashed #dee2e6;
}

.list-card .empty-state .empty-icon {
    font-size: 48px;
    color: #adb5bd;
    margin-bottom: 15px;
    opacity: 0.6;
}

.list-card .empty-state p {
    color: #6c757d;
    font-size: 14px;
    margin: 0;
}

.payment-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

.payment-badge.payment-paid {
    background: #d4edda;
    color: #155724;
}

.payment-badge.payment-unpaid {
    background: #fff3cd;
    color: #856404;
}

/* Booking Details Modal */
.booking-details {
    padding: 20px 0;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.detail-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.detail-item label {
    font-weight: 600;
    color: #495057;
    min-width: 120px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-item label i {
    color: #2d7a8f;
    font-size: 14px;
}

.detail-item span {
    color: #212529;
    flex: 1;
}

.detail-item span.payment-badge {
    flex: 0 0 auto;
    display: inline-block;
}

/* Responsive Dashboard */
@media (max-width: 1200px) {
    .dashboard-lists {
        grid-template-columns: 1fr;
    }

    .schedule-container {
        max-height: min(660px, calc(100dvh - 220px));
    }
}

@media (max-width: 768px) {
    .dashboard-metrics {
        grid-template-columns: 1fr;
    }
    
    .dashboard-date-selector {
        justify-content: flex-start;
        width: 100%;
    }

    .date-selector-form,
    .date-selector-wrapper {
        width: 100%;
    }

    .dashboard-schedule-card {
        border-radius: 8px;
        margin-left: -2px;
        margin-right: -2px;
    }

    .schedule-header {
        padding: 16px;
        position: static;
    }

    .schedule-header h2 {
        font-size: 18px;
    }

    .schedule-legend {
        gap: 10px !important;
    }

    .schedule-container {
        padding: 0 10px 12px 10px;
        max-height: min(620px, calc(100dvh - 250px));
    }
    
    .page-actions {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    
    .page-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .schedule-table {
        font-size: 11px;
        min-width: max-content;
    }
    
    .schedule-table th,
    .schedule-table td {
        padding: 8px 6px;
    }

    .schedule-table .time-column {
        min-width: 82px;
    }

    .schedule-table .barber-column {
        min-width: 150px;
    }
    
    .booking-slot {
        padding: 4px;
        font-size: 10px;
    }

    .dashboard-lists {
        gap: 16px;
    }

    .list-header {
        padding: 16px;
        gap: 10px;
        flex-wrap: wrap;
    }

    .list-header h3 {
        font-size: 16px;
        line-height: 1.25;
    }

    .list-content {
        padding: 12px;
    }

    .detail-item {
        display: block;
        margin-bottom: 16px;
        padding-bottom: 16px;
    }

    .detail-item label {
        min-width: 0;
        margin-bottom: 8px;
    }

    .detail-item .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .metric-card {
        padding: 18px;
        gap: 14px;
    }

    .metric-icon {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }

    .metric-value {
        font-size: 24px;
    }

    .schedule-header {
        padding: 14px;
    }

    .schedule-header h2 {
        font-size: 16px;
    }

    .schedule-container {
        padding: 0 8px 10px 8px;
        max-height: min(580px, calc(100dvh - 245px));
    }

    .schedule-table .barber-column {
        min-width: 132px;
    }

    .booking-customer,
    .booking-time {
        max-width: 120px;
    }
}

.barber-card-footer {
    padding: 15px 20px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.btn-card-edit,
.btn-card-delete {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.3s;
    text-decoration: none;
    min-width: 100px;
    height: 38px;
    box-sizing: border-box;
}

.btn-card-edit {
    background: #2d7a8f;
    color: #fff;
}

.btn-card-edit:hover {
    background: #1a4d5e;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(45, 122, 143, 0.3);
}

.btn-card-delete {
    background: #dc3545;
    color: #fff;
}

.btn-card-delete:hover {
    background: #c82333;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(220, 53, 69, 0.3);
}

.empty-state {
    padding: 60px 30px;
    text-align: center;
}

.empty-state-icon {
    font-size: 64px;
    color: #adb5bd;
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 24px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 10px;
}

.empty-state p {
    color: #6c757d;
    font-size: 16px;
    margin-bottom: 20px;
}

.no-results-message {
    margin-top: 30px;
}

.no-results-message .empty-state {
    padding: 40px 30px;
}

.no-results-message .empty-state-icon {
    font-size: 64px;
    color: #adb5bd;
    margin-bottom: 20px;
}

.no-results-message .empty-state h3 {
    color: #495057;
    margin-bottom: 10px;
}

.no-results-message .empty-state p {
    color: #6c757d;
    margin-bottom: 20px;
}

.no-results-message .empty-state p strong {
    color: #2d7a8f;
    font-weight: 600;
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    z-index: 9999;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    max-width: 300px;
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification-success {
    background: #28a745;
}

.notification-error {
    background: #dc3545;
}

@media (max-width: 768px) {
    .barbers-grid {
        grid-template-columns: 1fr;
    }
    
    .barbers-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .status-toggle-slider {
        width: 80px;
        height: 28px;
    }
    
    .status-toggle-slider::before {
        width: 20px;
        height: 20px;
    }
    
    .status-toggle-input:checked + .status-toggle-slider::before {
        transform: translateY(-50%) translateX(52px);
    }
    
    .status-toggle-label {
        font-size: 9px;
    }
    
    .status-toggle-label.status-active {
        padding-right: 25px;
    }
    
    .status-toggle-label.status-inactive {
        padding-left: 25px;
    }
}

/* Customer Phone Search in Booking Form */
.customer-search-wrapper {
    position: relative;
}

.customer-search-input-wrapper {
    position: relative;
    width: 300px;
}

.customer-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 14px;
    z-index: 1;
    pointer-events: none;
}

.customer-search-input {
    width: 100%;
    padding: 10px 15px 10px 38px;
    border: 2px solid #dee2e6;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fff;
    color: #212529;
}

.customer-search-input:focus {
    outline: none;
    border-color: #2d7a8f;
    box-shadow: 0 0 0 3px rgba(45, 122, 143, 0.1);
}

.customer-search-input::placeholder {
    color: #adb5bd;
}

.customer-search-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
}

.customer-search-results {
    padding: 5px 0;
}

.customer-search-result-item {
    padding: 12px 15px;
    cursor: pointer;
    transition: background 0.2s;
    border-bottom: 1px solid #f0f0f0;
}

.customer-search-result-item:last-child {
    border-bottom: none;
}

.customer-search-result-item:hover {
    background: #f8f9fa;
}

.customer-search-result-name {
    font-weight: 600;
    color: #212529;
    font-size: 14px;
    margin-bottom: 4px;
}

.customer-search-result-phone {
    font-size: 13px;
    color: #6c757d;
}

.customer-search-no-results {
    padding: 15px;
    text-align: center;
    color: #6c757d;
    font-size: 14px;
}

@media (max-width: 768px) {
    .customer-search-input-wrapper {
        width: 100%;
        max-width: 250px;
    }
}

/* Barber schedule page uses the same class names as dashboard schedule.
   Keep its slots fully visible on small screens. */
.barber-schedule-container.schedule-container {
    padding: 0 !important;
    max-height: none !important;
    overflow: visible !important;
}

.barber-schedule-container .schedule-cards-container {
    overflow: visible !important;
}

.barber-schedule-container .time-slots-grid {
    max-height: none !important;
    overflow: visible !important;
}
