:root {
    /*--secondary: #0B75DF;
    --secondaryDark: #003d80;
    --secondaryLight: #16A1FB;*/
    --secondary: #E21C5C;
    --secondaryDark: #A31545;
    --secondaryLight: #FF4D82;
    /*--darkGray: #222;*/
    /*--secondary95: #f9d9b3;*/
    --secondaryHover: #fde7ef;
    /*--tertiary: tomato;
    --tertiary95: #ffede9;
    --tertiary98: #fff8f6;*/
    /*--yellow: #FFED86;*/
    /*--onPrimary: #003256;
    --primary: #9ccaff;
    --quarternary: #0B75DF;*/
    /*--onQuarternary: #ffffff;*/
    /*--blue: #0B75DF;*/
    /*--text-color: #334155;
    --muted-text: #64748b;*/
    /*--white: #FFF;*/
    /*--black: #000;*/
    --background: #FFF;
    --onBackground: #000;
    --onSurfaceVariant: #222;
    --outline: #999;
    --surface: #f8fafc;
    --onSurface: #64748b;
    --surfaceVariant: #fafafa;
    /*--success: #10b981;
    --warning: #f59e0b;*/
    --error: #ef4444;
    --onError: #FFFFFF;
    --errorContainer: #fee2e2;
    --onErrorContainer: #991b1b;
    --onSuccess: #FFFFFF;
    --successContainer: #d1fae5;
    --onSuccessContainer: #065f46;
    --onWarning: #FFFFFF;
    --warningContainer: #fef3c7;
    --onWarningContainer: #92400e;
    /*--info: #0B75DF;
    --onInfo: #FFFFFF;*/
    --infoContainer: #dbeafe;
    --onInfoContainer: #1e40af;
    --border-radius: 12px;
    --border-radius-sm: 8px;
    /*--shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);*/
    /*--pill-width-effective: calc(80px + 15px + 15px);
    --axis-offset: calc(var(--pill-width-effective) + 15px);
    --dot-size: 8px;
    --line-width: 2px;
    --dot-center-vertical-offset: 18px;
    --line-start-vertical-offset: calc(var(--dot-center-vertical-offset) + var(--dot-size) / 2);*/
}

* {
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
    text-decoration: none;
}

body {
    background-color: var(--background);
    color: var(--onBackground);
    width: 100vw;
    height: 100vh;
    overflow-x: hidden;
}

input[type=number] { -moz-appearance: textfield; }
input::-webkit-outer-spin-button, input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
textarea:focus, input:focus { outline: none; }
button:hover, img:hover, a:hover { cursor: pointer; }
textarea { resize: vertical; }

/* Layout */
.contents { display: flex; flex-direction: column; height: 100vh; width: 100vw; overflow-y: hidden; }
.content { width: 100vw ; height: calc(100vh - 70px); overflow-y: auto; }
.list-content {
    width: 250px;
    height: 100%;
    overflow-y: auto;
    border-right: 1px solid var(--outline);
}
.sub-content {
    width: calc(100vw - 250px);
    height: 100%;
    overflow-y: auto;
    padding: 0 16px
}

/*!HEADER*/
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--background);
    height: 70px;
    padding: 0 32px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100vw;
}

/* Left Section - Logo */
.header-left {
    flex: 1;
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: contain;
}

.logo-text {
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondaryDark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Center Section - Navigation Menu */
.header-center {
    flex: 2;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item a {
    display: flex;
    align-items: center;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--onSurface);
    text-decoration: none;
    border-radius: 40px;
    transition: all 0.2s ease;
}

.nav-item a:hover {
    background: rgba(11, 117, 223, 0.08);
    color: var(--secondary);
}

.nav-item.active a {
    background: var(--secondary);
    color: white;
}

/* Right Section - Actions */
.header-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.action-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--onSurfaceVariant);
    position: relative;
}

.icon-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

.icon-btn .material-symbols-rounded {
    font-size: 24px;
}

.notification-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: var(--error);
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

/* User Profile */
.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 12px 6px 8px;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.user-profile:hover {
    background: rgba(0, 0, 0, 0.05);
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: contain;
}

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

.user-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--onSurfaceVariant);
}

.user-role {
    font-size: 11px;
    color: var(--onSurface);
}

.dropdown-btn {
    width: 32px;
    height: 32px;
}

/* Mobile Menu Button (Hidden on desktop) */
.mobile-menu-btn {
    display: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .app-header {
        padding: 0 20px;
    }

    .nav-item a {
        padding: 8px 14px;
        font-size: 13px;
    }

    .user-info {
        display: none;
    }

    .logo-text {
        display: none;
    }
}

@media (max-width: 768px) {
    .header-center {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: transparent;
        border: none;
        cursor: pointer;
        border-radius: 50%;
    }

    .mobile-menu-btn:hover {
        background: rgba(0, 0, 0, 0.05);
    }

    .user-profile {
        padding: 4px 8px;
    }

    .user-avatar {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 480px) {
    .app-header {
        padding: 0 16px;
    }

    .notification-badge {
        top: 2px;
        right: 2px;
        padding: 2px 5px;
        font-size: 9px;
        min-width: 16px;
    }

    .icon-btn {
        width: 36px;
        height: 36px;
    }
}

/* Dark mode support */
body.dark .app-header {
    background: var(--surface);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

body.dark .icon-btn:hover {
    background: rgba(255, 255, 255, 0.08);
}

body.dark .user-profile:hover {
    background: rgba(255, 255, 255, 0.08);
}

/*!ACTION BUTTONS*/
.actions {
    display: flex;
    flex-direction: row;
    align-self: end;
    margin: 8px;
}

.action-group {
    display: flex;
    align-items: center;
    border-radius: 10px;
    background-color: var(--background);
    color: var(--onBackground);
    overflow: hidden;
    border: 1px solid rgba(53, 52, 52, 0.226);
    margin: 4px;
    padding: 4px 8px;
    cursor: pointer;
}

.circular {
    border-radius: 50%;
    padding: 5px;
}

/* Flex Utilities */
.flexrow { display: flex; flex-direction: row; }
.frvc { display: flex; flex-direction: row; align-items: center; }
.flexcolumn { display: flex; flex-direction: column; }
.horizontalcenter { justify-content: center; }
.verticalcenter { align-items: center; }
.vhcenter, .fab { justify-content: center; align-items: center; }
.spacebetween { justify-content: space-between; width: 100%; }
.frspvc { display: flex; flex-direction: row; justify-content: space-between; width: 100%; align-items: center; }
.flexend { justify-content: flex-end; }
.flexwrap { flex-wrap: wrap; }
.dynamic { display: flex; flex-wrap: wrap; overflow-y: auto; }
.self-center {
    align-self: center;
    margin: 16px;
}

/* Header */
.header { padding: 10px 20px; height: 60px; box-shadow: 1px 4px 4px 0 var(--surface); display: flex; flex-direction: row; justify-content: space-between; align-items: center; }
.header h1 { margin-left: 24px; color: var(--onBackground); }
.header-actions { color: var(--onSurface); cursor: pointer; margin: 0 8px; }

/* Cards */
.card { background: var(--background); padding: 25px 20px; border-radius: 12px; text-align: center; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); transition: transform 0.3s ease; }
.card-value { font-size: 32px; font-weight: bold; margin-bottom: 8px; }
.card-input, .card-input-wide { background: linear-gradient(145deg, var(--surface), var(--infoContainer)); border-radius: 12px; display: flex; flex-direction: column; padding: 16px 20px; border: 1px solid var(--outline); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); transition: all 0.25s ease; position: relative; overflow: hidden; }
.card-input::before, .card-input-wide::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: linear-gradient(to bottom, var(--secondary), var(--secondaryDark)); border-radius: 12px 0 0 12px; }
.card-input input, .card-input select, .card-input textarea, .card-input-wide textarea { border: 2px solid var(--outline); background-color: rgba(255, 255, 255, 0.05); border-radius: 24px; padding: 12px 16px; font-size: 14px; font-weight: 500; margin-top: 6px; width: 100%; box-sizing: border-box; }
.card-input .small-font, .card-input-wide .small-font { font-size: 12px; font-weight: 600; opacity: 0.85; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; display: flex; align-items: center; gap: 6px; }

/* Charts */
.charts { width: 100%; height: 350px; margin-bottom: 10px; }
.chart, .chart-wide { display: flex; flex-direction: column; align-items: center; }
.chart h3 { text-align: center; }
.canvas { width: 100%; height: calc(100% - 16px); padding: 4px 0; }

/* Tables */
/* Modern Table Design */
.table-container {
    overflow-x: auto;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    background: var(--background);
    margin: 0 8px;
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--background);
}

/* Header styling */
table thead tr {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondaryDark) 100%);
}

table thead tr th {
    padding: 16px 16px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--background);
    background: transparent;
    border-bottom: none;
}

table thead tr th:first-child {
    border-top-left-radius: 16px;
    padding-left: 20px;
}

table thead tr th:last-child {
    border-top-right-radius: 16px;
    padding-right: 20px;
}

/* Body styling */
table tbody tr {
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

table tbody tr:hover {
    background-color: rgba(11, 117, 223, 0.04);
    transform: translateX(2px);
}

table tbody tr td {
    padding: 14px 16px;
    font-size: 13px;
    color: var(--onSurfaceVariant);
    background: var(--background);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

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

table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 16px;
}

table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 16px;
}

/* Cell alignment */
table td, table th {
    text-align: left;
}

table td:first-child, table th:first-child {
    padding-left: 20px;
}

table td:last-child, table th:last-child {
    padding-right: 20px;
}

/* Status badges inside table */
table td .status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.clickable-cell {
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.clickable-cell:hover {
    background-color: rgba(11, 117, 223, 0.08) !important;
    transform: translateX(2px);
}

.clickable-cell:active {
    transform: scale(0.98);
}

/* Responsive */
@media (max-width: 768px) {
    .table-container {
        border-radius: 12px;
    }

    table thead tr th {
        padding: 12px 12px;
        font-size: 11px;
    }

    table tbody tr td {
        padding: 10px 12px;
        font-size: 11px;
    }

    table td:first-child, table th:first-child {
        padding-left: 12px;
    }

    table td:last-child, table th:last-child {
        padding-right: 12px;
    }
}

/* Striped rows alternative (optional) */
table tbody tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.01);
}

/* Hover effect for clickable rows */
table tbody tr[data-clickable="true"] {
    cursor: pointer;
}

table tbody tr[data-clickable="true"]:hover {
    background-color: rgba(11, 117, 223, 0.08);
}

/* Buttons */
.button-animate { padding: 14px 24px; border: unset; border-radius: 15px; color: #212121; z-index: 1; background: var(--secondaryDark); position: relative; font-weight: 1000; font-size: 15px; box-shadow: 4px 8px 19px -3px rgba(0,0,0,0.27); transition: all 250ms; overflow: hidden; margin: 12px 0 16px 12px; min-width: 200px; }
.button-animate::before { content: ""; position: absolute; top: 0; left: 0; height: 100%; width: 0; border-radius: 15px; background-color: var(--secondary); z-index: -1; transition: all 250ms; }
.button-animate:hover::before { width: 100%; }
.button-animate:hover { color: #ffffff; }
.btn { padding: 8px 16px; border: none; border-radius: 8px; cursor: pointer; font-size: 14px; font-weight: 500; transition: all 0.2s ease; display: flex; align-items: center; gap: 6px; }
.btn-primary { background-color: var(--secondary); color: white; }
.btn-primary:hover { background-color: var(--secondaryDark); }

/* Pills & Badges */
.status-badge { padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; width: fit-content; }
.status-success { background: var(--successContainer); color: var(--onSuccessContainer); }
.status-warning { background: var(--warningContainer); color: var(--onWarningContainer); }
.status-error { background: var(--errorContainer); color: var(--onErrorContainer); }
.status-info { background: var(--infoContainer); color: var(--onInfoContainer); }

/* Typography */
.smallest-font { font-size: 0.6rem; }
.small-font { font-size: 0.8rem; }
.medium-font { font-size: 1rem; }
.large-font { font-size: 1.2rem; }
.bold { font-weight: 700; }
.max-lines { display: block; text-overflow: ellipsis; word-wrap: break-word; overflow: hidden; max-height: 3.3em; line-height: 1.1em; }
.one-line { display: block; text-overflow: ellipsis; word-wrap: break-word; overflow: hidden; min-height: 1.1em; line-height: 1.1em; }

/* Menu */
.menu { height: calc(100vh - 60px); box-shadow: 1px 4px 4px 0 var(--surface); padding: 10px 0; display: flex; flex-direction: column; justify-content: space-between; }
.menu li { margin: 6px 0; }
.menu a { display: flex; flex-direction: row; align-content: center; width: 100%; font-size: 15px; }
.menu ul li { display: flex; flex-direction: row; padding: 5px 10px; }
.menu ul li:hover { background-color: var(--secondaryHover); cursor: pointer; }
.menu-subheader { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: #6b7280; padding: 0.75rem 1rem 0.5rem 1rem; border-left: 3px solid #3b82f6; margin-left: 0.5rem; }

/* Analytics */
.analytics-container { padding: 20px; max-width: 1400px; margin: 0 auto; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
.summary-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin: 8px; padding: 10px; }
.summary-cards .card {
    gap: 12px;
}

.summary-cards .card .material-symbols-rounded {
    font-size: 48px;
    color: var(--secondary);
}

.table-container { background: white; border-radius: 12px; box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08); overflow: hidden; }
.analytics-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.analytics-table th { background: linear-gradient(135deg, #0B75DF 0%, #4361ee 100%); color: white; padding: 16px 12px; text-align: left; font-weight: 600; }
.trend-up { color: #27ae60; font-weight: bold; }
.trend-down { color: #e74c3c; font-weight: bold; }

/* Sheet Overlay */
.report-sheet-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0, 0, 0, 0.5); backdrop-filter: blur(4px); display: none; justify-content: center; align-items: flex-end; z-index: 10; opacity: 0; transition: opacity 0.3s ease; }
.report-sheet-overlay.active { display: flex; opacity: 1; }
.report-sheet { background: var(--surface); border-radius: 24px 24px 0 0; width: 100%; max-width: 600px; max-height: 90vh; display: flex; flex-direction: column; transform: translateY(100%); transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.2); padding: 8px 24px; z-index: 10; }
.report-sheet-overlay.active .report-sheet { transform: translateY(0); }
.report-sheet::before { content: ''; width: 40px; height: 4px; background: var(--outline); border-radius: 2px; margin: 12px auto; display: block; }

/* Toast/Snackbar */
#snackbar { visibility: hidden; min-width: 250px; max-width: 40vw; background-color: var(--secondary); color: var(--background); text-align: center; padding: 16px; position: fixed; z-index: 7; left: 0; right: 0; margin: auto; bottom: 30px; border-radius: 48px; }
#snackbar.show { visibility: visible; -webkit-animation: fadein 0.5s, fadeout 2.5s; animation: fadein 0.5s, fadeout 2.5s; }

@keyframes fadein { from { bottom: 0; opacity: 0; } to { bottom: 30px; opacity: 1; } }
@keyframes fadeout { from { bottom: 30px; opacity: 1; } to { bottom: 0; opacity: 0; } }

/*!LOADER*/
.dots-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.dot {
    height: 20px;
    width: 20px;
    margin-right: 10px;
    border-radius: 10px;
    background-color: #b3d4fc;
    animation: pulse 1.5s infinite ease-in-out;
}

.dot:last-child {
    margin-right: 0;
}

.dot:nth-child(1) {
    animation-delay: -0.3s;
}

.dot:nth-child(2) {
    animation-delay: -0.1s;
}

.dot:nth-child(3) {
    animation-delay: 0.1s;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        background-color: #b3d4fc;
        box-shadow: 0 0 0 0 rgba(178, 212, 252, 0.7);
    }

    50% {
        transform: scale(1.2);
        background-color: #6793fb;
        box-shadow: 0 0 0 10px rgba(178, 212, 252, 0);
    }

    100% {
        transform: scale(0.8);
        background-color: #b3d4fc;
        box-shadow: 0 0 0 0 rgba(178, 212, 252, 0.7);
    }
}

/*!PROVIDER REGISTRATION*/
/* New CSS Classes for Provider Registration */

.form-card {
    background: var(--background);
    border-radius: var(--border-radius);
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--onSurface);
}

.form-group label .required {
    color: var(--error);
}

.form-group input,
.form-group select {
    padding: 12px 16px;
    border: 2px solid var(--outline);
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    background: var(--background);
    color: var(--onBackground);
    transition: all 0.2s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(11, 117, 223, 0.1);
}

.location-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.status-option {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-option input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--secondary);
}

.button-group {
    display: flex;
    gap: 16px;
    justify-content: flex-end;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--outline);
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-group.full-width {
        grid-column: span 1;
    }
    .location-row {
        grid-template-columns: 1fr;
    }
    .form-card {
        padding: 20px;
    }
}

/*!PACKAGES*/
.benefit-form-container {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-form-header {
    margin-bottom: 24px;
}

.benefit-form-header h2 {
    color: var(--secondary);
    margin-bottom: 8px;
}

.benefit-form-header p {
    color: var(--onSurface);
}

.benefit-form .card-basic {
    margin-bottom: 24px;
}

.benefit-form h3 {
    color: var(--secondaryDark);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--secondary);
}

.benefit-form h4 {
    color: var(--onSurfaceVariant);
    margin: 16px 0 12px 0;
    padding-left: 8px;
    border-left: 3px solid var(--secondary);
}

.benefit-form .form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.benefit-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.benefit-form .form-group.full-width {
    grid-column: 1 / -1;
}

.benefit-form .form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--onSurface);
}

.benefit-form select,
.benefit-form input {
    padding: 10px 12px;
    border: 1px solid var(--outline);
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    background: var(--background);
    color: var(--onBackground);
}

.benefit-form select:focus,
.benefit-form input:focus {
    outline: none;
    border-color: var(--secondary);
}

.benefit-form .button-group {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--outline);
}

@media (max-width: 768px) {
    .benefit-form .form-grid {
        grid-template-columns: 1fr;
    }
}

/*!MEMBERS*/
.member-form-container {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.member-form-header {
    margin-bottom: 24px;
}

.member-form-header h2 {
    color: var(--secondary);
    margin-bottom: 8px;
}

.member-form-header p {
    color: var(--onSurface);
}

.member-form .card-basic {
    margin-bottom: 24px;
}

.member-form h3 {
    color: var(--secondaryDark);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--secondary);
}

.member-form h4 {
    color: var(--onSurfaceVariant);
    margin: 16px 0 12px 0;
    padding-left: 8px;
    border-left: 3px solid var(--secondary);
}

.member-form .form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.member-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.member-form .form-group.full-width {
    grid-column: 1 / -1;
}

.member-form .form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--onSurface);
}

.member-form .form-group label .required {
    color: var(--error);
}

.member-form select,
.member-form input {
    padding: 10px 12px;
    border: 1px solid var(--outline);
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    background: var(--background);
    color: var(--onBackground);
}

.member-form select:focus,
.member-form input:focus {
    outline: none;
    border-color: var(--secondary);
}

.btn-add {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-add:hover {
    background: var(--secondaryDark);
}

.btn-remove {
    background: var(--errorContainer);
    color: var(--onErrorContainer);
    border: none;
    padding: 6px 16px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-remove:hover {
    background: var(--error);
    color: white;
}

.dependents-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
}

.empty-state {
    text-align: center;
    padding: 40px;
    color: var(--onSurface);
    background: var(--surface);
    border-radius: var(--border-radius);
    border: 1px dashed var(--outline);
}

.card-dependent {
    background: var(--surface);
    border-radius: var(--border-radius);
    padding: 16px;
    border: 1px solid var(--outline);
}

.dependent-header {
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--outline);
}

.dependent-header h4 {
    margin: 0;
    padding: 0;
    border: none;
}

.member-form .button-group {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--outline);
}

/*!*/
/* Notification Popup CSS */
.notification-popup {
    position: absolute;
    top: 60px;
    right: 20px;
    width: 380px;
    max-height: 500px;
    background: var(--background);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--outline);
}

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

.notification-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--onSurfaceVariant);
    margin: 0;
}

.notification-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--onSurface);
    padding: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.notification-close:hover {
    background: rgba(0, 0, 0, 0.05);
}

.notification-list {
    flex: 1;
    overflow-y: auto;
    max-height: 380px;
}

.notification-item {
    display: flex;
    gap: 12px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--outline);
    transition: background 0.2s;
    cursor: pointer;
}

.notification-item:hover {
    background: rgba(11, 117, 223, 0.04);
}

.notification-item.unread {
    background: rgba(11, 117, 223, 0.06);
}

.notification-item.unread .notification-title {
    font-weight: 700;
    color: var(--secondary);
}

.notification-icon {
    flex-shrink: 0;
}

.notification-icon span {
    font-size: 22px;
}

.notification-item.unread .notification-icon span {
    color: var(--secondary);
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--onSurfaceVariant);
    margin-bottom: 4px;
}

.notification-message {
    font-size: 12px;
    color: var(--onSurface);
    margin-bottom: 6px;
    line-height: 1.4;
}

.notification-time {
    font-size: 10px;
    color: var(--onSurface);
    opacity: 0.6;
}

.notification-footer {
    display: flex;
    gap: 12px;
    padding: 12px 20px;
    border-top: 1px solid var(--outline);
    background: var(--surface);
}

.btn-mark-all,
.btn-view-all {
    flex: 1;
    padding: 8px 12px;
    border: none;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-mark-all {
    background: var(--secondary);
    color: white;
}

.btn-mark-all:hover {
    background: var(--secondaryDark);
}

.btn-view-all {
    background: var(--surface);
    color: var(--secondary);
    border: 1px solid var(--secondary);
}

.btn-view-all:hover {
    background: rgba(11, 117, 223, 0.08);
}

/* Overlay */
.notification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    display: none;
}

.notification-overlay.active {
    display: block;
}

@media (max-width: 480px) {
    .notification-popup {
        width: calc(100vw - 40px);
        right: 20px;
        left: 20px;
    }
}

@media (max-width: 768px) {
    .member-form .form-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive */
@media screen and (min-width: 1px) {
    .charts { display: flex; flex-direction: column; height: 1050px; }
    .chart, .chart-wide, .chart-widest, .chart-half { width: 100%; height: 350px; margin: 5px; }
    .admin-menu { width: 40px; }
    .admin-content { width: calc(100vw - 40px); }
    .admin-menu ul li span:nth-of-type(2) { display: none; }
    .one-item {
        flex: 0 0 100%;
        max-width: calc(100% - 10px);
        margin: 5px;
    }
}

@media screen and (min-width: 1280px) {
    .charts { display: flex; flex-direction: row; height: 350px; }
    .chart { width: 33.3%; height: 100%; margin: 5px; }
    .chart-half { width: 50%; height: 350px; margin: 5px; }
    .chart-wide { width: 66.6%; height: 350px; margin: 5px; }
    .admin-menu { width: 220px; }
    .admin-content { width: calc(100vw - 220px); }
    .admin-menu ul li span:nth-of-type(2) { display: flex; }
}
