/* Light theme */
/* :root {
    --bg: #ffffff;
    --text: #000000;
    --card: #f4f4f4;
    --header-gradient: linear-gradient(to right, #1a535c, #4ecdc4);
    --footer-bg: #f7fff7;
    --footer-text: #1a535c;
}

/* Dark theme */
/*[data-theme='dark'] {
    --bg: #1e1e1e;
    --text: #e4e4e4;
    --card: #2b2b2b;
    --header-gradient: linear-gradient(to right, #0d2b2e, #1a535c);
    --footer-bg: #1a3a3a;
    --footer-text: #e4e4e4;
} */




/* :root {
    --primary-blue: #1F6DDC;
    --rich-purple: #662D91;
    --aqua-teal: #40E0D0;
    --aqua-accent: #40E0D0;
    --lavender-mist: #8BA8D2;
    --deep-indigo: #2D1E45;
    --primary: #1F6DDC;
    --purple: #662D91;
    --aqua: #40E0D0;
    --lavender: #8BA8D2;
    --indigo: #2D1E45;
    --bg: #ffffff;
    --text: #2D1E45;
    --card: #f0f4ff; */

    /* Base Light Theme Colors */
    /* --bg: #ffffff;
    --text: #000000;
    --card: #f4f4f4;
    --header-gradient: linear-gradient(to right, var(--primary-blue), var(--rich-purple));
    --footer-bg: #f7faff;
    --footer-text: var(--deep-indigo);
    --header-gradient: linear-gradient(to right, var(--primary), var(--purple));
    --footer-bg: var(--primary);
    --footer-text: #ffffff;
} */

/* Dark theme */
/* [data-theme='dark'] {
    --bg: var(--deep-indigo);
    --text: #f4f4f4;
    --card: #3a2e59;
    --header-gradient: linear-gradient(to right, var(--lavender-mist), var(--aqua-teal));
    --footer-bg: #2d1e45;
    --footer-text: #ffffff;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
} */




/* Simplified color scheme with purple and lavender */
:root {
    /* Color Variables */
    --purple: #662D91;
    --lavender: #8BA8D2;
    --purple-dark: #4a1d68;
    --lavender-light: #b8cce8;
    --purple-light: #D1C4E9;
    --lavender-deep: #9575CD;
    
    /* Theme Variables */
    --bg: #ffffff;
    --text: #2D1E45; /* Deep purple for text */
    --card: #f8f5ff; /* Very light purple */
    
    /* Gradients */
    --header-gradient: linear-gradient(to right, var(--purple), var(--lavender));
    --footer-bg: var(--purple);
    --footer-text: #ffffff;
    --purple-lavender-gradient: linear-gradient(#D1C4E9, #9575CD);
}

/* Dark theme */
[data-theme='dark'] {
    --bg: #41364d;
    --text: #e4e4e4;
    --card: #2a1a3a;
    --header-gradient: linear-gradient(to right, var(--purple-dark), var(--lavender));
    --footer-bg: var(--purple-dark);
    --footer-text: #ffffff;
}

/* iPhone-like font stack (San Francisco preferred) */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    background-color: var(--bg);
    color: var(--text);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}


.container {
    max-width: 1000px;
    margin: auto;
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header Styling */
/* .header-gradient {
    background: var(--header-gradient, linear-gradient(to right, #1a535c, #4ecdc4));
    color: white;
    padding: 1.2rem 1rem;
    border-radius: 0 0 12px 12px;
    margin-bottom: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.header-gradient h1 {
    font-size: 1.8rem;
    margin: 0;
    flex: 1;
    white-space: nowrap;
}

#toggle-theme {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

#toggle-theme:hover {
    background: rgba(255, 255, 255, 0.3);
} */

/* Notification Bell */
/* .notification-bell {
    position: relative;
}

.notification-bell a {
    color: white;
    font-size: 1.5rem;
    position: relative;
}

.notification-bell .dot {
    position: absolute;
    top: 0;
    right: -4px;
    width: 10px;
    height: 10px;
    background: red;
    border-radius: 50%;
    animation: pulse 1.2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.6; }
    100% { transform: scale(1); opacity: 1; }
}

.dropdown {
    position: absolute;
    top: 2.5rem;
    right: 0;
    background: white;
    color: black;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    width: 250px;
    padding: 0.75rem;
    z-index: 10;
    display: none;
}

.notification-bell:hover .dropdown {
    display: block;
}

.dropdown h4 {
    margin-top: 0;
    font-size: 1rem;
    border-bottom: 1px solid #ccc;
    padding-bottom: 4px;
}

.dropdown ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
}

.dropdown ul li {
    font-size: 0.9rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
} */


/* Header Styling */
/* .header-gradient {
    background: linear-gradient(to right, #1F6DDC, #662D91);
    color: #ffffff;
    padding: 1.2rem 1rem;
    border-radius: 0 0 12px 12px;
    margin-bottom: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
} */

/* Header Styling */
.header-gradient {
    background: var(--header-gradient);
    color: white;
    padding: 1.2rem 1rem;
    border-radius: 0 0 12px 12px;
    margin-bottom: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.inline-logo {
    height: 2em;
    width: auto;
    margin-left: 4px;
    vertical-align: middle;
}

/* .header-gradient h1 {
    font-size: 1.8rem;
    margin: 0;
    flex: 1;
    white-space: nowrap;
} */

.header-gradient h1 {
    font-size: 1.8rem;
    margin: 0;
    flex: 1;
    white-space: nowrap;
    font-weight: 600; /* Semi-bold like iOS */
}

/* Toggle theme button */
/* #toggle-theme {
    background: rgba(64, 224, 208, 0.15);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s, border 0.3s;
} */

/* Toggle theme button */
#toggle-theme {
    background: rgba(139, 168, 210, 0.15); /* Lavender tint */
    color: #ffffff;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s, border 0.3s;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* #toggle-theme:hover {
    background: rgba(64, 224, 208, 0.35);
    border-color: rgba(255, 255, 255, 0.6);
} */

#toggle-theme:hover {
    background: rgba(139, 168, 210, 0.35);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Notification Bell */
.notification-bell {
    position: relative;
}

.notification-bell a {
    color: #ffffff;
    font-size: 1.5rem;
    position: relative;
}

.notification-bell .dot {
    position: absolute;
    top: 0;
    right: -4px;
    width: 10px;
    height: 10px;
    background:var(--purple-lavender-gradient);
    border-radius: 50%;
    animation: pulse 1.2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.6; }
    100% { transform: scale(1); opacity: 1; }
}

/* Notification dropdown */
.dropdown {
    position: absolute;
    top: 2.5rem;
    right: 0;
    background: #ffffff;
    color: var(--purple);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(102, 45, 145, 0.15);
    width: 260px;
    padding: 0.75rem;
    z-index: 10;
    display: none;
}

.notification-bell:hover .dropdown {
    display: block;
}

.dropdown h4 {
    margin-top: 0;
    font-size: 1rem;
    border-bottom: 1px solid #ccc;
    padding-bottom: 4px;
    color: var(--purple);
}

.dropdown ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
}

.dropdown ul li {
    font-size: 0.9rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}


/* Footer Styling */
/* .footer-light {
    background: #1a535c;
    color: #f7fff7;
    padding: 1.5rem 1rem;
    text-align: center;
    border-radius: 12px 12px 0 0;
    margin-top: auto;
    font-family: 'Segoe UI', sans-serif;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.footer-light p {
    margin: 0.3rem 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.footer-credit strong {
    color: #ffdd57;
}

.footer-tagline {
    font-weight: 500;
    font-size: 1.05rem;
} */


/* .footer-light {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 1.5rem 1rem;
    text-align: center;
    border-radius: 12px 12px 0 0;
    margin-top: auto;
    font-family: 'Segoe UI', sans-serif;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
} */

/* Footer */
.footer-light {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 1.5rem 1rem;
    text-align: center;
    border-radius: 12px 12px 0 0;
    margin-top: auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}


/* .footer-light p {
    margin: 0.3rem 0;
    font-size: 0.95rem;
    line-height: 1.5;
} */

.footer-light p {
    margin: 0.3rem 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* .footer-credit strong {
    color: var(--aqua);
}

.footer-tagline {
    font-weight: 600;
    font-size: 1.1rem;
} */

.footer-credit strong {
    color: var(--lavender);
}

.footer-tagline {
    font-weight: 500;
    font-size: 1.1rem;
}



/* Responsive Breakpoints */
@media (max-width: 600px) {
    .header-gradient {
        flex-direction: column;
        align-items: flex-start;
    }

    .notification-bell {
        align-self: flex-end;
    }

    #toggle-theme {
        width: 100%;
        text-align: center;
    }

    .footer-light {
        padding: 1rem;
    }

    .footer-light p {
        font-size: 0.85rem;
    }
}

input, select, button {
    padding: 0.5rem;
    margin: 0.3rem 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

form {
    margin-bottom: 1rem;
}

ul {
    padding: 0;
    list-style: none;
}

.flash-messages {
    background: var(--text);
    padding: 0.5rem;
    border: 1px solid var(--lavender-light);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

@media (max-width: 600px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    h1 {
        margin-bottom: 0.5rem;
    }

    button {
        width: auto;
        align-self: flex-end;
    }
}


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

.sidebar {
    width: 250px;
    background: var(--purple);
    color: white;
    padding: 1rem;
    transition: transform 0.3s ease;
    overflow: auto;
    top: 0;
    flex-direction: column;
    display: flex;
}


.sidebar-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.sidebar-header {
    padding: 1rem;
    border-bottom: 1px solid rgba(247, 255, 247, 0.1);
    flex-shrink: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sidebar-nav a {
    color: #f7fff7;
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-weight: 500;
    background-color: transparent;
    transition: background 0.3s, transform 0.2s;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.sidebar-nav a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(4px);
}

.sidebar-nav a.active {
    background-color: var(--lavender);
    color: var(--purple);
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(64, 224, 208, 0.4);
}

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

.therapist-list li a {
    display: block;
    color: #f7fff7;
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background 0.3s;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}


.therapist-list li a:hover,
.therapist-list li a.active {
    background: rgba(139, 168, 210, 0.3);
}


.badge-milestones {
    margin-top: auto;
    font-size: 0.9rem;
    color: #f7fff7;
}

.badge-milestones p {
    color: var (var(--lavender-mist));
    font-size: 0.9rem;
}

.sidebar-footer {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.therapist-list li a:hover,
.sidebar-footer a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.sidebar-footer a {
    color: #f7fff7;
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    transition: background 0.3s;
}

.sidebar-footer a:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Optional: For smooth mobile scrolling */
.sidebar-nav {
    scroll-behavior: smooth;
}


@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        height: auto;
        max-height: 100vh;
        overflow-y: auto;
    }

    .main-content {
        margin-left: 0;
        padding-top: 260px;
    }

    .sidebar-nav {
        gap: 0.5rem;
    }
}

.main-content {
    flex: 1;
    padding: 1.5rem;
    background: #f7fff7;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-weight: 600;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #1a535c;
    z-index: 9999;
}

/* Cards */
/* .card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 5px solid var(--aqua);
} */

/* Cards */
.card {
    background: var(--card);
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(102, 45, 145, 0.1);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 5px solid var(--lavender);
}

/* Forms */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--purple-lavender-gradient);
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.submit-btn {
    background: var(--purple);
    color: #ffffff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: var(--lavender-deep);
}

/* Activities Table */
.activities-table-container {
    overflow-x: auto;
    margin-top: 1rem;
}

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

.activities-table th,
.activities-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.activities-table th {
    background: var(--purple-lavender-gradient);
    color: white;
}

.activities-table tr:nth-child(even) {
    background: var(--lavender);
}

.activities-table tr:hover {
    background: #c5b5f1;
}

.status-completed {
    color: purple;
    font-weight: 500;
}

.status-pending {
    color: #FF9800;
    font-weight: 500;
}

/* Chart */
.chart-container {
    position: relative;
    height: 300px;
    margin-top: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dashboard-container {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        background: var(--purple-dark);
        transform: translateX(-100%);
        position: fixed;
        height: 100vh;
        z-index: 100;
        max-height: 100vh;
        overflow-y: auto;
        padding-bottom: 2rem;
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .main-content {
        padding: 1rem;
    }
    
    .menu-toggle {
        display: block;
        background: var(--lavender);
        color: var(--purple);
        border: none;
        border-radius: 50%;
        font-size: 1.2rem;
        box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
    }
    
    .dashboard-header h2 {
        font-size: 1.25rem;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
        font-weight: 600;
    }
}

@media (max-width: 480px) {
    .card {
        padding: 1rem;
    }
    
    .form-group input,
    .form-group select {
        padding: 0.5rem;
    }
    
    .submit-btn {
        padding: 0.5rem 1rem;
    }
    
    .activities-table th,
    .activities-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.875rem;
    }
}


/* Dashboard Layout */
/* .dashboard-container {
    display: flex;
    min-height: 100vh;
    background: #f7fff7;
} */

/* .sidebar {
    width: 280px;
    background: #1a535c;
    color: #f7fff7;
    padding: 1.5rem;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
} */

/* .sidebar-header {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(247, 255, 247, 0.2);
    margin-bottom: 1.5rem;
} */

.sidebar-header h2 {
    color: #f7fff7;
    margin: 0;
    font-size: 1.5rem;
}

/* .sidebar-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
} */

/* .therapist-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.therapist-list li {
    margin-bottom: 0.5rem;
}

.therapist-list a {
    display: block;
    color: #f7fff7;
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    transition: all 0.3s;
}

.therapist-list a:hover, 
.therapist-list a.active {
    background: rgba(247, 255, 247, 0.15);
    color: #fff;
}

.sidebar-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(247, 255, 247, 0.2);
}

.sidebar-footer a {
    display: block;
    color: #f7fff7;
    text-decoration: none;
    padding: 0.5rem 0;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.sidebar-footer a:hover {
    opacity: 1;
} */ yussdhsjd

/* .main-content {
    flex: 1;
    padding: 2rem;
    background: #f7fff7;
} */

/* .dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
} */

.dashboard-header h2 {
    color: #1a535c;
    margin: 0;
}

/* .menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #1a535c;
} */

/* Cards */
/* .card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    margin-bottom: 2rem;
} */

/* Activities Table */
.table-responsive {
    overflow-x: auto;
}

/* .activities-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.activities-table th,
.activities-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.activities-table th {
    background: #1a535c;
    color: white;
    font-weight: 500;
}

.activities-table tr:hover {
    background: rgba(26, 83, 92, 0.05);
}

.status-completed {
    color: #4CAF50;
    font-weight: 500;
}

.status-pending {
    color: #FF9800;
    font-weight: 500;
} */

/* Client Dashboard Activities */
.activities-container {
    display: grid;
    gap: 1.5rem;
}

.activity-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.activity-card {
    border-radius: 8px;
    padding: 1.25rem;
    background: var(--card);
    box-shadow:  0 4px 14px rgba(102, 45, 145, 0.08);
    border-left: 4px solid var(--lavender);
    transition: transform 0.2s ease;
}

.activity-card.status-completed {
    border-left: var(--purple);
}

.activity-card.status-pending {
    border-left: 4px solid #FF9800;
}

.activity-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.activity-header h4 {
    margin: 0;
    color: var(--purple);
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.status-badge {
    font-size: 0.85rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.status-completed .status-badge {
    background: rgba(31, 109, 220, 0.1);
    color: var(--purple);
}

.status-pending .status-badge {
    background: rgba(102, 45, 145, 0.1);
    color: #FF9800;
}

.activity-date {
    color: var(--indigo);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.mark-done-btn {
    background: var(--purple);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.mark-done-btn:hover {
    background: var(--purple-dark);
}

/* Responsive Design */
@media (max-width: 992px) {
    .activity-cards {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .dashboard-container {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        transform: translateX(-100%);
        position: fixed;
        height: 100vh;
        z-index: 1000;
        padding-top: 3rem;

    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .main-content {
        padding: 1.5rem;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .dashboard-header h2 {
        font-size: 1.25rem;
    }
}

@media (max-width: 576px) {
    .activity-cards {
        grid-template-columns: 1fr;
    }
    
    .card {
        padding: 1rem;
    }
    
    .activities-table th,
    .activities-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.875rem;
    }
}


/* Password Change Page */
.password-change-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: var(--bg);
    padding: 2rem;
}

.password-change-card {
    background: var(--card);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(45, 30, 69, 0.15);
    padding: 2.5rem;
    width: 100%;
    max-width: 500px;
}

.password-change-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.password-change-header h2 {
    color: var(--purple);
    margin-bottom: 0.5rem;
}

.password-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: rgba(102, 45, 145, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-icon svg {
    width: 30px;
    height: 30px;
    fill: var(--purple);
}

.password-change-form {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--lavender);
    font-weight: 500;
}

.input-with-icon {
    position: relative;
}

.input-with-icon input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: var(--bg);
    color: var(--text);
    font-size: 1rem;
    transition: border 0.3s, box-shadow 0.3s;
}

.input-with-icon input:focus {
    border-color: var(--purple);
    box-shadow: 0 0 0 3px rgba(102, 45, 145, 0.1);
    outline: none;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    color: var(--purple);
    opacity: 0.7;
    transition: opacity 0.3s;
}

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

.password-strength {
    margin-top: 0.5rem;
}

.strength-meter {
    height: 4px;
    background: var(--lavender);
    border-radius: 2px;
    margin-bottom: 0.25rem;
    transition: width 0.3s, background 0.3s;
}

.strength-text {
    font-size: 0.8rem;
    color: var(--text);
    transition: color 0.3s;
}

.validation-message {
    font-size: 0.8rem;
    margin-top: 0.25rem;
    height: 1rem;
    color: crimson;
}

.submit-btn {
    width: 100%;
    background: var(--purple);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 1rem;
}

.submit-btn:hover {
    background: var(--purple-dark);
}

.back-link {
    text-align: center;
}

.back-btn {
    color: var(--purple-dark);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s;
}

.back-btn:hover {
    color: var(--lavender-deep);
}

/* Responsive Design */
@media (max-width: 600px) {
    .password-change-container {
        padding: 1rem;
    }
    
    .password-change-card {
        padding: 1.5rem;
    }
}


/* Auth Layout */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: var(--bg);
    padding: 1rem;
}

.auth-card {
    background: var(--card);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(45, 30, 69, 0.15);
    padding: 2.5rem;
    width: 100%;
    max-width: 420px;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.auth-header p {
    color: var(--text);
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Logo Styles */
.logo-container {
    width: 80px;
    height: 80px;
    margin: 0 auto 0.srem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-logo {
    /* max-width: 100%; */
    width: 160px;
    /* max-height: 100%; */
    height: 160px;
    object-fit: contain;
}

/* Adjust the auth-logo spacing */
.auth-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
}

.auth-logo h1 {
    margin-top: 0.5rem;
    color: var(--primary);
}


/* Auth Form */
.auth-form {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--purple);
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    transition: border 0.3s, box-shadow 0.3s;
}

.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    transition: border 0.3s;
}

.form-group input:focus {
    border-color: var(--lavender);
    box-shadow: 0 0 0 3px rgba(139, 168, 210, 0.2);
    outline: none;
}

.password-input {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--purple);
    -webkit-user-select: none;
    user-select: none;
    opacity: 0.7;
    transition: opacity 0.3s;
}

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

/* Role Selection */
.role-selection {
    margin: 1.5rem 0;
}

.role-options {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.role-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.role-option input {
    width: auto;
    margin-right: 0.5rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.role-option span {
    color: var(--purple);
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1.5rem 0;
}

.remember-me {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.remember-me input {
    width: auto;
    margin-right: 0.5rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.remember-me span {
    color: var(--text);
    font-size: 0.9rem;
}

.forgot-password {
    color: var(--purple);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s;
}

.forgot-password:hover {
    color: var(--purple-dark);
    text-decoration: underline;
}

/* Auth Button */
.auth-btn {
    width: 100%;
    background: var(--purple);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.auth-btn:hover {
    background: var(--purple-dark)
}

/* Auth Footer */
.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text);
    font-size: 0.9rem;
}

.auth-footer a {
    color: var(--purple);
    text-decoration: none;
    transition: color 0.3s;
}

.auth-footer a:hover {
    color: var(--purple-dark);
    text-decoration: underline;
}

.made-with {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--text);
    opacity: 0.7;
    text-align: center;
}

.footer-credit strong {
    color: rgb(240, 224, 250);
    font-weight: bold;
}



.footer-f a {
    color: var(--lavender);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 480px) {
    .auth-card {
        padding: 1.5rem;
    }
    
    .auth-logo h1 {
        font-size: 1.25rem;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}


/* Chart Styles */
.summary-card {
    margin-bottom: 2rem;
}

.chart-responsive-container {
    position: relative;
    height: 0;
    padding-bottom: 50%;
    margin: 0 auto;
    max-width: 300px;
}

.chart-responsive-container canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: chartEntrance 0.6s ease-out;
}

.chart-legend {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 0,5rem;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text);
}

.legend-color {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.legend-color.completed {
    background-color: var(--purple);
}

.legend-color.pending {
    background-color:  #FF9800;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .chart-responsive-container {
        max-width: 250px;
        padding-bottom: 40%;
    }
    
    .chart-legend {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .chart-responsive-container {
        max-width: 200px;
    }
    
    .summary-card h3 {
        font-size: 1.1rem;
    }
    
    .legend-item {
        font-size: 0.8rem;
    }
}

/* Animation for chart */
@keyframes chartEntrance {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.chart-responsive-container canvas {
    animation: chartEntrance 0.6s ease-out;
}



.notification-panel {
    background-color: #eaf5ff;
    border-left: 4px solid #1F6DDC;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}
.notification-panel ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.notification-panel li {
    margin: 0.4rem 0;
}


.notification-bell {
    position: relative;
    display: inline-block;
}

.notification-bell #bell-icon {
    font-size: 1.5rem;
    position: relative;
    text-decoration: none;
    color: var(--text);
}

.notification-bell .dot {
    position: absolute;
    top: 0;
    right: 0;
    height: 10px;
    width: 10px;
    background-color: var(--lavender);
    border-radius: 50%;
    border: 2px solid var(--bg);
}

.dropdown {
    display: none;
    position: absolute;
    right: 0;
    background-color: var(--card);
    color: var(--purple);
    box-shadow: 0 4px 12px rgba(102, 45, 145, 0.15);
    border-radius: 8px;
    z-index: 1000;
    min-width: 250px;
    padding: 0.5rem;
}

.dropdown ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.dropdown li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #ccc;
}

.dropdown li:last-child {
    border-bottom: none;
}


.toast {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  background: var(--card);
  border-left: 4px solid var(--purple);
  color: var(--purple);
  padding: 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  border-radius: 4px;
  opacity: 0.9;
  z-index: 1000;
}


.comment-form textarea {
    width: 100%;
    /* Ensure font-size is at least 16px to prevent mobile zooming */
    font-size: 16px; 
    height: 60px; /* You can keep your desired height */
    margin-bottom: 8px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    
    /* Recommended for better textarea behavior: */
    padding: 10px; /* Add some internal spacing */
    border: 1px solid #ccc; /* Give it a visible border */
    border-radius: 8px; /* Rounded corners */
    box-sizing: border-box; /* Ensures padding and border are included in width/height */
    resize: vertical; /* Allows vertical resizing by user, but not horizontal */
}

.comments-section {
    margin-top: 10px;
    padding: 10px;
    background: #f0f4fa;
    border-radius: 6px;
}
.comments-section ul {
    list-style: none;
    padding-left: 0;
}
.comments-section li {
    margin-bottom: 5px;
    font-size: 0.95em;
}

.activity-comments {
    background: #f8f9fa;
    padding: 10px;
    margin-top: 8px;
    border-left: 3px solid var(--purple-dark);
}
.activity-comments ul {
    margin: 0;
    padding-left: 20px;
}

.export-buttons .btn {
    padding: 0.5rem 1rem;
    margin-right: 10px;
    background-color:  #662D91;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background 0.3s;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.export-buttons .btn:hover {
    background-color: #502272;
}



.progress-container {
    width: 100%;
    background-color: #f0e6ff;
    border-radius: 6px;
    overflow: hidden;
    height: 20px;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background-color: var(--purple);
    transition: width 1s linear;
}


.locked {
    opacity: 0.6;
    pointer-events: none;
}


.flash-card {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background:#f8f5ff;
    color: var(--purple);
    border: 2px solid var(--lavender);
    border-radius: 8px;
    box-shadow: 0 0 12px rgba(0,0,0,0.15);
    animation: popFade 0.3s ease;
    z-index: 9999;
}

@keyframes popFade {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close-flash {
    position: absolute;
    top: 6px;
    right: 8px;
    cursor: pointer;
    font-size: 18px;
    color: #662D91;
}


.score-banner {
    background: linear-gradient(90deg, var(--lavender), var(--lavender-light));
    color: var(--purple);
    font-weight: bold;
    padding: 14px 24px;
    margin: 20px auto;
    border-radius: 10px;
    max-width: 400px;
    box-shadow: 0 4px 12px  rgba(232, 167, 248, 0.4);
    text-align: center;
    font-size: 1.2em;
    position: relative;
    animation: bounceIn 0.6s ease-out;
    box-shadow: 0 0 15px 2px rgba(231, 134, 235, 0.8);
}

@keyframes bounceIn {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    60% {
        transform: scale(1.1);
        opacity: 1;
    }
    100% {
        transform: scale(1);
    }
}

.badge-display {
    animation: popIn 0.4s ease;
    display: inline-block;
    margin-top: 6px;
    font-size: 1.1em;
    color: var(--purple);
    font-weight: bold;
    background-color: rgba(139, 168, 210, 0.2);
    padding: 6px 10px;
    border-radius: 8px;
    box-shadow: 0 0 6px gba(0,0,0,0.05);
}

@keyframes popIn {
    0% { transform: scale(0.5); opacity: 0; }
    60% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(1); }
}


.badge-milestones {
    background: #F0F4FF;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 0.95em;
    color: var(--purple-dark);
    margin-top: 10px;
    box-shadow: 0 0 6px rgba(236, 147, 147, 0.05);
}



.progress-calendar ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 1.5rem;
    font-size: 0.95rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.progress-calendar li {
    background: var(--card);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}


.reply-box {
    margin-left: 1rem;
    padding: 0.5rem;
    background: #f0f0ff;
    border-left: 3px solid #662D91;
    margin-top: 6px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}


/* Cookie-banner */
#cookie-banner {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(90deg, #6A0DAD 0%, #E6E6FA 100%);
  color: #fff;
  padding: 1rem 1.5rem;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  box-shadow: 0 -3px 8px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform .4s ease;
}

#cookie-banner.show { transform: translateY(0); }

/* Links & button */
#cookie-banner a {
  color: #fff;
  text-decoration: underline;
}

#cookie-banner .btn-accept {
  background: #fff;
  color: #6A0DAD;
  border: none;
  padding: .4rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
}

#cookie-banner .btn-accept:hover {
  background: #eee;
}

/* Optional toggle button */
#cookie-toggle {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  display: none;
}

#cookie-toggle button {
  font-family: inherit;
  background: #6A0DAD;
  color: #fff;
  border: none;
  padding: .5rem .9rem;
  border-radius: 4px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
}

#cookie-toggle button:hover { background: #5a0a97; }


/* ---------- About page ----------- */
.page-hero {
  text-align: center;
  padding: 2.5rem 1rem 1.5rem;
  background: linear-gradient(135deg, #6A0DAD 0%, #E6E6FA 100%);
  color: #fff;
}
.page-hero h1 { margin: 0 0 .5rem; font-size: 2.2rem; }
.page-hero p  { max-width: 700px; margin: 0 auto; opacity: .9; }

.team           { padding: 3rem 1rem; }
.team h2        { text-align: center; margin-bottom: 2rem; color: #6A0DAD; }
.team-grid {
  display: grid;
  gap: 2rem;
  /* grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); */
  grid-template-columns: repeat(2, 1fr);
}
.member {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
  padding: 1.5rem 1.2rem 2rem;
  text-align: center;
  transition: transform .25s ease;
}
.member:hover { transform: translateY(-6px); }
.member img {
  width: 200px; height: 200px; object-fit: cover;
  border-radius: 50%; border: 4px solid #E6E6FA;
  margin-bottom: 1rem;
}
.member h3 { margin: .4rem 0 .6rem; color: #6A0DAD; font-size: 1.15rem; }
.member p  { font-size: .95rem; color: #555; }

@media (max-width: 600px) {
  .team-grid {
    grid-template-columns: 1fr;   /* single column on phones */
  }
}

.contact      { padding: 2.5rem 1rem; background: #F9F7FC; }
.contact h2   { color: #6A0DAD; margin-bottom: 1rem; text-align: center; }
.contact ul   { list-style: none; padding: 0; max-width: 600px; margin: 0 auto; }
.contact li   { margin: .4rem 0; font-size: .97rem; }

.map          { padding: 2.5rem 0 4rem; }
.map h2       { text-align: center; color: #6A0DAD; margin-bottom: 1rem; }


/* ---------- Privacy page ----------- */
.privacy-hero {
  background: linear-gradient(135deg, #6A0DAD 0%, #E6E6FA 100%);
  color: #fff;
  text-align: center;
  padding: 2rem 1rem 1.5rem;
}
.privacy-hero h1 { margin: 0 0 .6rem; font-size: 2.2rem; }
.privacy-hero p  { max-width: 700px; margin: 0 auto; opacity: .95; }

.policy-wrap {
  max-width: 800px;
  margin: 3rem auto 4rem;
  padding: 0 1rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}

.policy-wrap h2 {
  color: #6A0DAD;
  font-size: 1.3rem;
  margin: 2.2rem 0 .6rem;
}

.policy-wrap ul {
  padding-left: 1.25rem;
  margin: .2rem 0 1.2rem;
}
.policy-wrap li { margin:.35rem 0; }

.policy-consent {
  margin-top: 2.5rem;
  font-weight: 600;
  text-align: center;
  color: #6A0DAD;
}


/* ---------- Admin dashboard ---------- */
.admin-hero {
  text-align:center;
  padding:2rem 1rem 1.5rem;
  background:linear-gradient(135deg,#6A0DAD 0%,#E6E6FA 100%);
  color:#fff;
}
.admin-stats {
  display:flex; flex-wrap:wrap; gap:1rem;
  justify-content:center; margin:2rem 0;
}
.admin-stats .card {
  background:#FFF; border-radius:8px; box-shadow:0 2px 6px rgba(0,0,0,.08);
  padding:1rem 1.5rem; font-size:1.4rem; font-weight:600; text-align:center;
  min-width:120px; position:relative; color:#444;
}
.admin-stats .card span{
  display:block; font-size:.8rem; font-weight:500; color:#666; margin-top:.2rem;
}
.card.purple   { background:#6A0DAD; color:#fff; }
.card.lavender { background:#E6E6FA; }

.admin-table {
  width:100%; max-width:1100px; margin:0 auto 3rem; border-collapse:collapse;
  font-size:.95rem;
}
.admin-table th, .admin-table td {
  padding:.6rem .8rem; border-bottom:1px solid #ddd;
}
.admin-table tr.disabled { opacity:.55; }
.admin-table th { background:#F4F2FA; color:#6A0DAD; text-align:left; }

.action-form button{
  background:#6A0DAD; color:#fff; border:none; padding:.3rem .6rem;
  border-radius:4px; font-size:.8rem; margin:0 .15rem .25rem;
  cursor:pointer; transition:background .2s;
}
.action-form button:hover{ background:#5a0a99; }
.action-form button[value="delete"]{ background:#d9534f; }
.action-form button[value="delete"]:hover{ background:#c9302c; }

.flash{max-width:600px;margin:0.5rem auto;padding:.6rem 1rem;border-radius:6px;text-align:center;}
.flash.info    {background:#5bc0de;color:#fff;}
.flash.success {background:#5cb85c;color:#fff;}
.flash.warning {background:#f0ad4e;color:#fff;}
.flash.danger  {background:#d9534f;color:#fff;}


/* toolbar */
.admin-toolbar{
  display:flex; flex-wrap:wrap; gap:.7rem; justify-content:flex-end;
  max-width:1100px; margin:0 auto 1rem;
}
#user-search{
  flex:1 1 250px; padding:.45rem .7rem;
  border:1px solid #ccc; border-radius:6px; font-size:.9rem;
}
.btn-neutral, .btn-primary{
  padding:.45rem .9rem; font-size:.85rem; border-radius:6px; text-decoration:none;
}
.btn-neutral{ background:#eee; color:#444; }
.btn-neutral:hover{ background:#ddd; }
.btn-primary{ background:#6A0DAD; color:#fff; }
.btn-primary:hover{ background:#5a0a97; }


.video-banner{
  background:#E6E6FA;
  border-left:5px solid #6A0DAD;
  padding:1rem 1.2rem; margin:1rem 0; border-radius:6px;
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap;
}
.video-banner a.btn-primary{
  background:#6A0DAD; color:#fff; padding:.5rem 1rem; border-radius:6px;
  text-decoration:none; font-size:.9rem;
}

.notification-panel ul      { list-style:none; padding:0; }
.notification-panel li      { margin:.4rem 0; }
.notification-panel .join-btn{
  display:inline-block; margin-left:.5rem;
  padding:.25rem .6rem; font-size:.75rem;
  background:#6A0DAD; color:#fff; border-radius:4px;
  text-decoration:none;
}
.notification-panel .join-btn:hover{ background:#580a8f; }


.terms-hero {
  background: linear-gradient(135deg, #6A0DAD 0%, #E6E6FA 100%);
  color: #fff;
  text-align: center;
  padding: 2rem 1rem 1.5rem;
}
.terms-hero h1 {
  margin: 0 0 .6rem;
  font-size: 2.2rem;
}
.terms-hero p {
  max-width: 700px;
  margin: 0 auto;
  opacity: .95;
}

.terms-of-use {
  max-width: 800px;
  margin: 3rem auto 4rem;
  padding: 0 1rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.terms-of-use h2 {
  color: #6A0DAD;
  font-size: 1.3rem;
  margin: 2.2rem 0 .6rem;
}

.terms-of-use ul {
  padding-left: 1.25rem;
  margin: .2rem 0 1.2rem;
}

.terms-of-use li {
  margin: .35rem 0;
}

.terms-of-use a {
  color: #6A0DAD;
  text-decoration: underline;
}

.terms-consent {
  margin-top: 2.5rem;
  font-weight: 600;
  text-align: center;
  color: #6A0DAD;
}


.pricing-link {
    margin-top: 15px;
    font-size: 0.95em;
    color: var(--color-text-light);
}

.pricing-link a {
    font-weight: 600;
}