/* CHS Web Application Styles */
:root {
    --chs-primary: #204478;
    --chs-primary-dark: #1a3660;
    --chs-primary-light: #3B7EDE;
    --chs-gradient-start: #204478;
    --chs-gradient-end: #3B7EDE;
    --chs-bg: #F8F8F8;
    --chs-white: #FFFFFF;
    --chs-text: #333333;
    --chs-text-muted: #6c757d;
    --chs-border: #e0e0e0;
    --chs-success: #28a745;
    --chs-danger: #dc3545;
    --chs-warning: #ffc107;
    --chs-info: #17a2b8;
    --chs-shadow: 0 2px 8px rgba(0,0,0,0.08);
    --chs-shadow-lg: 0 4px 16px rgba(0,0,0,0.12);
    --chs-radius: 12px;
    --chs-radius-sm: 8px;
    --chs-radius-lg: 18px;
    --sidebar-width: 260px;
    --header-height: 64px;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--chs-bg);
    color: var(--chs-text);
    font-size: 14px;
    line-height: 1.6;
}

/* Auth Pages */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--chs-primary);
    padding: 20px;
}

.auth-card {
    background: var(--chs-white);
    border-radius: var(--chs-radius-lg);
    box-shadow: var(--chs-shadow-lg);
    width: 100%;
    max-width: 440px;
    padding: 40px;
    animation: fadeInUp 0.4s ease;
}

.auth-logo {
    text-align: center;
    margin-bottom: 32px;
}

.auth-logo img {
    height: 50px;
}

.auth-logo h2 {
    color: var(--chs-primary);
    font-size: 22px;
    font-weight: 700;
    margin-top: 8px;
}

.auth-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--chs-text);
    margin-bottom: 4px;
    text-align: center;
}

.auth-subtitle {
    font-size: 13px;
    color: var(--chs-text-muted);
    margin-bottom: 24px;
    text-align: center;

}

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

/* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    background: var(--chs-white);
    border-right: 1px solid var(--chs-border);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.sidebar-header {
    padding: 20px 20px 16px;
    border-bottom: 1px solid var(--chs-border);
}

.sidebar-header .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.sidebar-header .logo img {
    height: 36px;
}

.sidebar-header .logo span {
    font-size: 16px;
    font-weight: 700;
    color: var(--chs-primary);
}

.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 12px 0;
}

.sidebar-nav .nav-section {
    padding: 8px 20px 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--chs-text-muted);
}

.sidebar-nav .nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    color: var(--chs-text);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.sidebar-nav .nav-item:hover {
    background: rgba(32,68,120,0.04);
    color: var(--chs-primary);
}

.sidebar-nav .nav-item.active {
    background: rgba(32,68,120,0.08);
    color: var(--chs-primary);
    border-left-color: var(--chs-primary);
    font-weight: 600;
}

.sidebar-nav .nav-item i {
    width: 20px;
    text-align: center;
    font-size: 16px;
    opacity: 0.7;
}

.sidebar-nav .nav-item.active i {
    opacity: 1;
}

.sidebar-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--chs-border);
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.app-header {
    height: var(--header-height);
    background: var(--chs-white);
    border-bottom: 1px solid var(--chs-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    position: sticky;
    top: 0;
    z-index: 50;
}

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

.header-left .breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--chs-text-muted);
}

.header-left .breadcrumb a {
    color: var(--chs-text-muted);
    text-decoration: none;
}

.header-left .breadcrumb a:hover {
    color: var(--chs-primary);
}

.header-left .breadcrumb .current {
    color: var(--chs-text);
    font-weight: 600;
}

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

.header-search {
    position: relative;
}

.header-search input {
    width: 280px;
    padding: 8px 16px 8px 36px;
    border: 1px solid var(--chs-border);
    border-radius: 20px;
    font-size: 13px;
    background: var(--chs-bg);
    transition: all 0.2s;
}

.header-search input:focus {
    outline: none;
    border-color: var(--chs-primary);
    box-shadow: 0 0 0 3px rgba(32,68,120,0.1);
    width: 320px;
}

.header-search i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--chs-text-muted);
    font-size: 14px;
}

.header-bell {
    position: relative;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--chs-bg);
    color: var(--chs-text);
    text-decoration: none;
    transition: all 0.2s;
}

.header-bell:hover {
    background: rgba(32,68,120,0.08);
    color: var(--chs-primary);
}

.header-bell .badge {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 18px;
    height: 18px;
    background: var(--chs-danger);
    color: white;
    border-radius: 50%;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.header-avatar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px 4px 4px;
    border-radius: 24px;
    background: var(--chs-bg);
    text-decoration: none;
    color: var(--chs-text);
    transition: all 0.2s;
}

.header-avatar:hover {
    background: rgba(32,68,120,0.08);
}

.header-avatar img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.header-avatar span {
    font-size: 13px;
    font-weight: 600;
}

/* Page Content */
.page-content {
    flex: 1;
    padding: 28px;
}

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

.page-header h1 {
    font-size: 22px;
    font-weight: 700;
    color: var(--chs-text);
}

/* Cards */
.chs-card {
    background: var(--chs-white);
    border-radius: var(--chs-radius);
    box-shadow: var(--chs-shadow);
    border: 1px solid var(--chs-border);
    overflow: hidden;
}

.chs-card-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--chs-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chs-card-header h3 {
    font-size: 15px;
    font-weight: 700;
}

.chs-card-body {
    padding: 20px;
}

/* Buttons */
.btn-chs {
    background: var(--chs-primary);
    color: white !important;
    border: none;
    padding: 10px 24px;
    border-radius: var(--chs-radius-sm);
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-chs:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(32,68,120,0.3);
    color: white;
}

.btn-chs-outline {
    background: transparent;
    color: var(--chs-primary) !important;
    border: 1.5px solid var(--chs-primary);
}

.btn-chs-outline:hover {
    background: var(--chs-primary);
    color: white !important;
}

.btn-chs-danger {
    background: var(--chs-danger);
}

.btn-chs-danger:hover {
    box-shadow: 0 4px 12px rgba(220,53,69,0.3);
}

.btn-chs-sm {
    padding: 6px 14px;
    font-size: 12.5px;
}

.btn-chs-lg {
    padding: 12px 32px;
    font-size: 15px;
}

/* Forms */
.chs-form-group {
    margin-bottom: 16px;
}

.chs-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--chs-text);
    margin-bottom: 6px;
}

.chs-form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--chs-border);
    border-radius: var(--chs-radius-sm);
    font-size: 13.5px;
    color: var(--chs-text);
    background: var(--chs-white);
    transition: all 0.2s;
}

.chs-form-control:focus {
    outline: none;
    border-color: var(--chs-primary);
    box-shadow: 0 0 0 3px rgba(32,68,120,0.1);
}

.chs-form-control::placeholder {
    color: #adb5bd;
}

select.chs-form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    padding-right: 36px;
}

textarea.chs-form-control {
    resize: vertical;
    min-height: 80px;
}

.chs-form-text {
    font-size: 12px;
    color: var(--chs-text-muted);
    margin-top: 4px;
}

.chs-form-error {
    font-size: 12px;
    color: var(--chs-danger);
    margin-top: 4px;
}

/* Tables */
.chs-table {
    width: 100%;
    border-collapse: collapse;
}

.chs-table th {
    background: var(--chs-bg);
    padding: 10px 16px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--chs-text-muted);
    text-align: left;
    border-bottom: 1px solid var(--chs-border);
}

.chs-table td {
    padding: 12px 16px;
    font-size: 13.5px;
    border-bottom: 1px solid var(--chs-border);
    vertical-align: middle;
}

.chs-table tr:hover td {
    background: rgba(32,68,120,0.02);
}

/* Badges */
.chs-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11.5px;
    font-weight: 600;
}

.chs-badge-success { background: #d4edda; color: #155724; }
.chs-badge-danger { background: #f8d7da; color: #721c24; }
.chs-badge-warning { background: #fff3cd; color: #856404; }
.chs-badge-info { background: #d1ecf1; color: #0c5460; }
.chs-badge-primary { background: rgba(32,68,120,0.1); color: var(--chs-primary); }

/* Dashboard Stats */
.stat-card {
    background: var(--chs-white);
    border-radius: var(--chs-radius);
    padding: 20px;
    box-shadow: var(--chs-shadow);
    border: 1px solid var(--chs-border);
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-card .stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.stat-card .stat-icon.primary { background: rgba(32,68,120,0.1); color: var(--chs-primary); }
.stat-card .stat-icon.success { background: rgba(40,167,69,0.1); color: var(--chs-success); }
.stat-card .stat-icon.warning { background: rgba(255,193,7,0.1); color: var(--chs-warning); }
.stat-card .stat-icon.info { background: rgba(23,162,184,0.1); color: var(--chs-info); }

.stat-card .stat-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--chs-text);
}

.stat-card .stat-label {
    font-size: 12.5px;
    color: var(--chs-text-muted);
}

/* Banner Carousel */
.banner-carousel {
    border-radius: var(--chs-radius);
    overflow: hidden;
    margin-bottom: 24px;
}

.banner-carousel .carousel-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

/* Category Cards */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
}

.category-card {
    background: var(--chs-white);
    border-radius: var(--chs-radius);
    padding: 20px 12px;
    text-align: center;
    box-shadow: var(--chs-shadow);
    border: 1px solid var(--chs-border);
    text-decoration: none;
    color: var(--chs-text);
    transition: all 0.2s;
}

.category-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--chs-shadow-lg);
    color: var(--chs-primary);
}

.category-card img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    margin-bottom: 10px;
}

.category-card h4 {
    font-size: 13px;
    font-weight: 600;
    margin: 0;
}

/* Partner Cards */
.partner-card {
    background: var(--chs-white);
    border-radius: var(--chs-radius);
    box-shadow: var(--chs-shadow);
    border: 1px solid var(--chs-border);
    overflow: hidden;
    transition: all 0.2s;
    text-decoration: none;
    color: var(--chs-text);
    display: block;
}

.partner-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--chs-shadow-lg);
    color: var(--chs-text);
}

.partner-card .partner-cover {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.partner-card .partner-logo {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 3px solid var(--chs-white);
    margin: -26px auto 0;
    object-fit: cover;
    display: block;
}

.partner-card .partner-info {
    padding: 12px 16px 16px;
    text-align: center;
}

.partner-card .partner-info h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.partner-card .partner-info p {
    font-size: 12px;
    color: var(--chs-text-muted);
    margin-bottom: 6px;
}

.partner-card .partner-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--chs-warning);
}

/* Horizontal Scroll */
.h-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
}

.h-scroll::-webkit-scrollbar { height: 4px; }
.h-scroll::-webkit-scrollbar-track { background: transparent; }
.h-scroll::-webkit-scrollbar-thumb { background: var(--chs-border); border-radius: 2px; }

.h-scroll > * { flex-shrink: 0; }

/* Section Headers */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 17px;
    font-weight: 700;
}

.section-header a {
    font-size: 13px;
    color: var(--chs-primary);
    text-decoration: none;
    font-weight: 600;
}

.section-header a:hover {
    text-decoration: underline;
}

/* Booking Cards */
.booking-card {
    background: var(--chs-white);
    border-radius: var(--chs-radius);
    box-shadow: var(--chs-shadow);
    border: 1px solid var(--chs-border);
    padding: 16px 20px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: var(--chs-text);
    transition: all 0.2s;
}

.booking-card:hover {
    box-shadow: var(--chs-shadow-lg);
    color: var(--chs-text);
}

.booking-card .booking-info h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.booking-card .booking-info p {
    font-size: 12.5px;
    color: var(--chs-text-muted);
}

.booking-card .booking-meta {
    text-align: right;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state i {
    font-size: 48px;
    color: var(--chs-border);
}

.empty-state h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.empty-state p {
    font-size: 13.5px;
    color: var(--chs-text-muted);
    margin-bottom: 20px;
}

/* Loading Spinner */
.chs-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2.5px solid rgba(32,68,120,0.2);
    border-radius: 50%;
    border-top-color: var(--chs-primary);
    animation: spin 0.6s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* OTP Input */
.otp-input {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.otp-input input {
    width: 48px;
    height: 52px;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    border: 2px solid var(--chs-border);
    border-radius: var(--chs-radius-sm);
    transition: all 0.2s;
}

.otp-input input:focus {
    outline: none;
    border-color: var(--chs-primary);
    box-shadow: 0 0 0 3px rgba(32,68,120,0.1);
}

/* Pagination */
.chs-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 24px;
}

.chs-pagination a, .chs-pagination span {
    padding: 8px 14px;
    border-radius: var(--chs-radius-sm);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    color: var(--chs-text);
    border: 1px solid var(--chs-border);
    transition: all 0.2s;
}

.chs-pagination a:hover {
    background: var(--chs-primary);
    color: white;
    border-color: var(--chs-primary);
}

.chs-pagination .active {
    background: var(--chs-primary);
    color: white;
    border-color: var(--chs-primary);
}

/* Toast / Alert */
.chs-alert {
    padding: 12px 16px;
    border-radius: var(--chs-radius-sm);
    font-size: 13px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chs-alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.chs-alert-danger { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.chs-alert-warning { background: #fff3cd; color: #856404; border: 1px solid #ffeeba; }
.chs-alert-info { background: #d1ecf1; color: #0c5460; border: 1px solid #bee5eb; }

/* Settings Menu */
.settings-list .settings-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--chs-border);
    text-decoration: none;
    color: var(--chs-text);
    transition: all 0.2s;
}

.settings-list .settings-item:last-child {
    border-bottom: none;
}

.settings-list .settings-item:hover {
    background: rgba(32,68,120,0.03);
}

.settings-list .settings-item .item-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(32,68,120,0.06);
    color: var(--chs-primary);
    font-size: 16px;
}

.settings-list .settings-item .item-text h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}

.settings-list .settings-item .item-text p {
    font-size: 12px;
    color: var(--chs-text-muted);
}

.settings-list .settings-item .item-arrow {
    margin-left: auto;
    color: var(--chs-text-muted);
}

/* Responsive */
@media (max-width: 992px) {
    .sidebar {
        transform: translateX(-100%);
    }
    .sidebar.show {
        transform: translateX(0);
        box-shadow: var(--chs-shadow-lg);
    }
    .main-content {
        margin-left: 0;
    }
    .header-search input {
        width: 200px;
    }
    .header-search input:focus {
        width: 240px;
    }
}

@media (max-width: 768px) {
    .page-content {
        padding: 16px;
    }
    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .category-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 10px;
    }
    .stat-card {
        padding: 14px;
    }
    .stat-card .stat-value {
        font-size: 18px;
    }
    .header-search {
        display: none;
    }
    .auth-card {
        padding: 28px 20px;
    }
}

@media (max-width: 576px) {
    .header-avatar span {
        display: none;
    }
    .booking-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .booking-card .booking-meta {
        text-align: left;
    }
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    color: var(--chs-text);
    cursor: pointer;
    padding: 4px;
}

@media (max-width: 992px) {
    .mobile-menu-btn {
        display: block;
    }
}

.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 99;
}

.sidebar-overlay.show {
    display: block;
}

/* Flip Card for Health Card */
.flip-card {
    perspective: 1000px;
    width: 100%;
    max-width: 400px;
    height: 240px;
    margin: 0 auto;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: var(--chs-radius);
    padding: 12px;
}

.flip-card-front {
    /* background: var(--chs-primary); */
    display: flex;
    flex-direction: column;
    justify-content: space-between;

}

.flip-card-back {
    background: var(--chs-white);
    border: 1px solid var(--chs-border);
    transform: rotateY(180deg);
    overflow-y: auto;
}

/* Discount Tabs */
.chs-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--chs-border);
    margin-bottom: 20px;
    overflow-x: auto;
}

.chs-tab {
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--chs-text-muted);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    white-space: nowrap;
    transition: all 0.2s;
}

.chs-tab:hover {
    color: var(--chs-primary);
}

.chs-tab.active {
    color: var(--chs-primary);
    border-bottom-color: var(--chs-primary);
}

/* Discount Card */
.discount-card {
    background: var(--chs-white);
    border-radius: var(--chs-radius);
    border: 1px solid var(--chs-border);
    padding: 16px;
    margin-bottom: 12px;
}

.discount-card .provider-name {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
}

.discount-card .discount-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 13px;
    border-bottom: 1px dashed var(--chs-border);
}

.discount-card .discount-row:last-child {
    border-bottom: none;
}

/* Profile Card */
.profile-card {
    text-align: center;
    padding: 32px 20px;
}

.profile-card .profile-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 12px;
    border: 3px solid var(--chs-primary);
}

.profile-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.profile-card p {
    font-size: 13px;
    color: var(--chs-text-muted);
}

/* Notification Item */
.notification-item {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--chs-border);
}

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

.notification-item .notif-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(32,68,120,0.06);
    color: var(--chs-primary);
    flex-shrink: 0;
}

.notification-item .notif-content h4 {
    font-size: 13.5px;
    font-weight: 600;
    margin-bottom: 2px;
}

.notification-item .notif-content p {
    font-size: 12.5px;
    color: var(--chs-text-muted);
}

.notification-item .notif-time {
    font-size: 11px;
    color: var(--chs-text-muted);
    margin-left: auto;
    white-space: nowrap;
}

/* Password toggle */
.password-wrapper {
    position: relative;
}

.password-wrapper .toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--chs-text-muted);
    cursor: pointer;
    font-size: 16px;
}

/* Family member card */
.family-card {
    background: var(--chs-white);
    border-radius: var(--chs-radius);
    border: 1px solid var(--chs-border);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
}

.family-card .family-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(32,68,120,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--chs-primary);
    font-size: 18px;
    flex-shrink: 0;
}

.family-card .family-info h4 {
    font-size: 14px;
    font-weight: 600;
}

.family-card .family-info p {
    font-size: 12px;
    color: var(--chs-text-muted);
}

/* Subscription Plan Cards */
.plan-card {
    background: var(--chs-white);
    border-radius: var(--chs-radius);
    border: 2px solid var(--chs-border);
    padding: 24px;
    text-align: center;
    transition: all 0.2s;
}

.plan-card:hover {
    border-color: var(--chs-primary);
}

.plan-card.popular {
    border-color: var(--chs-primary);
    position: relative;
}

.plan-card.popular::before {
    content: 'Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--chs-primary);
    color: white;
    padding: 2px 12px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}

.plan-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.plan-card .price {
    font-size: 28px;
    font-weight: 800;
    color: var(--chs-primary);
    margin-bottom: 4px;
}

.plan-card .price small {
    font-size: 14px;
    font-weight: 500;
    color: var(--chs-text-muted);
}

.plan-card .plan-features {
    list-style: none;
    padding: 0;
    margin: 16px 0;
    text-align: left;
}

.plan-card .plan-features li {
    padding: 6px 0;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.plan-card .plan-features li i {
    color: var(--chs-success);
    font-size: 12px;
}

/* Modal */
.chs-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.chs-modal-overlay.show {
    display: flex;
}

.chs-modal {
    background: var(--chs-white);
    border-radius: var(--chs-radius-lg);
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    animation: fadeInUp 0.3s ease;
}

.chs-modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--chs-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chs-modal-header h3 {
    font-size: 16px;
    font-weight: 700;
}

.chs-modal-header .close-modal {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--chs-text-muted);
    cursor: pointer;
}

.chs-modal-body {
    padding: 24px;
}

.chs-modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--chs-border);
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

/* City grid for discounts */
.city-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
}

.city-card {
    background: var(--chs-white);
    border-radius: var(--chs-radius);
    border: 1px solid var(--chs-border);
    padding: 20px;
    text-align: center;
    text-decoration: none;
    color: var(--chs-text);
    transition: all 0.2s;
}

.city-card:hover {
    border-color: var(--chs-primary);
    /* transform: translateY(-2px); */
    box-shadow: var(--chs-shadow);
    color: var(--chs-primary);
}

.city-card i {
    font-size: 28px;
    margin-bottom: 8px;
    color: var(--chs-primary);
}

.city-card h4 {
    font-size: 13px;
    font-weight: 600;
}
