/* ==========================================
   LVH3 HASH HOUSE HARRIERS - MAIN STYLESHEET
   Responsive Design • Purple Theme (#6d4aff)
   ========================================== */

/* ==========================================
   CSS VARIABLES
   ========================================== */
:root {
    --primary: #6d4aff;
    --primary-dark: #5a40d8;
    --secondary: #757575;
    --accent: #ffd740;
    --success: #4caf50;
    --warning: #ff9800;
    --danger: #f44336;
    --light: #f5f5f5;
    --dark: #333;
    --gray-100: #f5f5f5;
    --gray-200: #e0e0e0;
    --gray-300: #bdbdbd;
    --gray-600: #757575;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.15);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ==========================================
   RESET & BASE
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--dark);
    background: var(--gray-100);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================
   CONTAINER — Single Definition, Used Everywhere
   ========================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* ==========================================
   SITE HEADER & NAVIGATION
   ========================================== */
.site-header {
    width: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 0;
    margin: 0;
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent !important;
    border-radius: 0;
    box-sizing: border-box;
}

.navbar .logo a {
    color: #fff !important;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.navbar .logo a:hover {
    opacity: 0.9;
}

.nav-menu {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-menu li a {
    color: #ffffff !important;
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: inline-block;
    line-height: 1.5;
}

.nav-menu li a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff !important;
}

.nav-menu li a.active {
    background: rgba(255, 255, 255, 0.25);
    color: #fff !important;
    font-weight: 600;
}

.mobile-menu-toggle {
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: #fff;
    padding: 10px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 20px;
    display: none;
}

.logout-btn {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
    border: 2px solid rgba(255, 255, 255, 0.6) !important;
    padding: 8px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-block;
    text-decoration: none;
}

.logout-btn:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    border-color: #fff !important;
    color: #fff !important;
}

/* ==========================================
   CONTENT WRAPPER
   ========================================== */
.content-wrapper {
    margin-top: 30px;
    margin-bottom: 40px;
}

.page-wrapper{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 0.5rem; 
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
    color: var(--dark);
}

h1 { font-size: clamp(1.5rem, 4vw, 2.5rem); color: var(--primary, #6d4aff);}
h2 { font-size: clamp(1.25rem, 3vw, 2rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }

p {
    margin-bottom: 1rem;
}

.text-muted { color: var(--gray-600); }
.text-center { text-align: center; }

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); color: var(--white); }

.btn-secondary { background: #e0e0e0; color: #333; }
.btn-secondary:hover { background: #bdbdbd; color: #333; }

.btn-danger { background: #ef5350; color: #fff; }
.btn-danger:hover { background: #e53935; color: #fff; }

.btn-warning { background: var(--warning); color: #fff; }
.btn-warning:hover { background: #f57c00; color: #fff; }

.btn-info { background: #42a5f5; color: #fff; }
.btn-info:hover { background: #2196f3; color: #fff; }

.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ==========================================
   ALERTS
   ========================================== */
.alert {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    border-left: 4px solid;
    animation: slideIn 0.3s ease;
}

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

.alert-success { background: #e8f5e9; border-color: #4caf50; color: #2e7d32; }
.alert-error { background: #ffebee; border-color: #f44336; color: #c62828; }
.alert-info { background: #e3f2fd; border-color: #2196f3; color: #1565c0; }

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 80px 40px;
    text-align: center;
    margin-bottom: 40px;
}

.hero h1 { color: var(--white); margin-bottom: 1rem; }
.hero p { font-size: 1.2rem; opacity: 2.95; margin-bottom: 2rem; }

.hero-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================
   FEATURE CARDS
   ========================================== */
.features { padding: 60px 0; }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon { font-size: 3rem; margin-bottom: 15px; }
.feature-card h3 { color: var(--dark); margin-bottom: 10px; }

/* ==========================================
   AUTH PAGES
   ========================================== */
.auth-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    padding: 40px 20px;
}

.auth-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 450px;
}

.auth-card h1 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ==========================================
   FORMS
   ========================================== */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #333;
    font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="password"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    height: 46px;
}

.form-group textarea {
    height: auto;
    min-height: 80px;
    resize: vertical;
    padding-top: 12px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(109, 74, 239, 0.15);
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
    margin: 0;
}

.form-checkbox label {
    margin: 0;
    font-weight: 400;
    cursor: pointer;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
}

.form-actions .btn {
    flex: 1;
    min-width: 120px;
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    color: var(--gray-600);
    font-size: 0.95rem;
}

.auth-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* ==========================================
   PAGE HEADERS
   ========================================== */
.page-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--gray-200);
}

.page-header h1 {
    margin: 0 0 8px 0;
    font-size: 1.75rem;
    color: var(--primary);
}

.page-header p {
    margin: 0;
    color: #666;
    font-size: 1rem;
}

.back-link {
    display: inline-block;
    margin-bottom: 15px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.back-link:hover {
    text-decoration: underline;
}

/* ==========================================
   RUN LIST & CARDS
   ========================================== */
.runs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.run-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.run-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.run-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 20px;
}

.run-header h2 {
    color: var(--white);
    margin-bottom: 5px;
    font-size: 1.25rem;
}

.run-details {
    padding: 20px;
}

.run-details p {
    margin-bottom: 10px;
    color: var(--dark);
}

.run-details strong {
    color: var(--gray-600);
}

.run-actions {
    padding: 20px;
    border-top: 1px solid var(--gray-200);
    display: flex;
    gap: 10px;
}

/* ==========================================
   BADGES
   ========================================== */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.badge-hare { background: #ffebee; color: #c62828; }
.badge-hound { background: #e8f5e9; color: #2e7d32; }
.badge-success { background: var(--success); color: var(--white); }
.badge-warning { background: var(--warning); color: var(--white); }

/* ==========================================
   PARTICIPANTS
   ========================================== */
.participant-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.participant-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    gap: 10px;
}

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

/* ==========================================
   FOOTER
   ========================================== */
.site-footer {
    background: var(--dark);
    color: var(--white);
    padding: 40px 20px;
    text-align: center;
    margin-top: auto;
}

.site-footer p {
    margin-bottom: 10px;
    opacity: 0.8;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-column h4 {
    color: var(--white);
    margin-bottom: 10px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: var(--white);
    opacity: 0.7;
    font-size: 14px;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #555;
}

/* ==========================================
   AVATARS
   ========================================== */
.profile-avatar {
    border-radius: 50%;
    overflow: hidden;
    display: inline-block;
    flex-shrink: 0;
}

.avatar-small {
    width: 32px;
    height: 32px;
    font-size: 0.6rem;
}

.avatar-medium {
    width: 50px;
    height: 50px;
    font-size: 1.0rem;
}

.avatar-large {
    width: 180px;
    height: 180px;
    font-size: 3.1rem;
}

.avatar-max {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
}

.avatar-max img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pill-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.pill-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pill-avatar-initials {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .avatar-large {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
}   
   

/* ==========================================
   EMPTY STATES
   ========================================== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray-600);
    background: #fafafa;
    border: 2px dashed var(--gray-300);
    border-radius: 8px;
    margin: 30px 0;
}

.no-data {
    color: var(--gray-600);
    font-style: italic;
}

/* ==========================================
   EMERGENCY CONTACTS
   ========================================== */
.emergency-page {
    max-width: 800px;
    margin: 0 auto;
}

.emergency-cards {
    display: grid;
    gap: 20px;
    margin-bottom: 40px;
}

.emergency-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(109, 76, 239, 0.1);
    padding: 25px;
    transition: box-shadow 0.2s ease;
}

.emergency-card:hover {
    box-shadow: 0 4px 12px rgba(109, 76, 239, 0.15);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--gray-200);
}

.card-header h2 {
    margin: 0;
    font-size: 1.35rem;
    color: #333;
    flex: 1;
}

.card-header .badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.badge-success { background: linear-gradient(135deg, #4caf50, #66bb6a); color: #fff; }
.badge-secondary { background: linear-gradient(135deg, #9e9e9e, #bdbdbd); color: #fff; }

.card-body {
    padding: 10px 0;
}

.card-body p {
    margin: 12px 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

.card-body strong {
    color: #555;
    margin-right: 5px;
}

.card-body a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.card-body a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.card-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--gray-200);
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    align-items: center;
}

.card-footer .btn,
.card-footer button[type="submit"].btn {
    height: 40px !important;
    min-width: 90px !important;
    padding: 0 16px !important;
    line-height: 40px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    border: none !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    vertical-align: middle !important;
}

.card-footer .btn-secondary { background: #e0e0e0 !important; color: #333 !important; }
.card-footer .btn-secondary:hover { background: #bdbdbd !important; }
.card-footer .btn-danger { background: #ef5350 !important; color: #fff !important; }
.card-footer .btn-danger:hover { background: #e53935 !important; }

.card-footer form {
    margin: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
}

.emergency-form {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(109, 76, 239, 0.1);
    padding: 25px;
}

.form-header {
    margin-bottom: 25px;
}

.form-header h2 {
    margin: 0;
    font-size: 1.35rem;
    color: #333;
}

/* ==========================================
   RUN DETAIL PAGE
   ========================================== */
.run-detail-page {
    max-width: 800px;
    margin: 0 auto;
}

.run-date {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary);
    margin: 5px 0;
}

.run-location {
    font-size: 1rem;
    color: #666;
    margin: 5px 0;
}

.run-address {
    font-size: 0.9rem;
    color: #999;
    margin: 3px 0;
}

.run-description {
    margin-top: 15px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 6px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.badge-locked {
    display: inline-block;
    background: #ff9800;
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-top: 10px;
}

.intention-buttons {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(109, 76, 239, 0.1);
    padding: 25px;
    margin: 30px 0;
    border-left: 4px solid var(--primary);
}

.intention-buttons h3 {
    margin: 0 0 20px 0;
    font-size: 1.2rem;
    color: #333;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.intention-buttons .btn {
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-hare { background: #6d4aff; color: #fff; }
.btn-hare:hover { background: #5a40d8; }
.btn-hare-active { background: #4caf50; color: #fff; }
.btn-running { background: #2196f3; color: #fff; }
.btn-running:hover { background: #1976d2; }
.btn-running-active { background: #4caf50; color: #fff; }
.btn-eating { background: #ff9800; color: #fff; }
.btn-eating:hover { background: #f57c00; }
.btn-eating-active { background: #4caf50; color: #fff; }

.manage-section {
    background: #fff3e0;
    border-radius: 8px;
    padding: 20px 25px;
    margin: 20px 0;
    border: 1px dashed #ff9800;
}

.manage-section h3 {
    margin: 0 0 15px 0;
    font-size: 1.1rem;
    color: #e65100;
}

.past-run-notice {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 20px 25px;
    margin: 30px 0;
    border-left: 4px solid #9e9e9e;
    text-align: center;
}

.past-run-notice h3 {
    margin: 0 0 10px 0;
    color: #666;
    font-size: 1.1rem;
}

.intention-sections {
    margin-top: 30px;
}

.intention-section {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 20px 25px;
    margin-bottom: 20px;
}

.intention-section h3 {
    margin: 0 0 15px 0;
    font-size: 1.1rem;
    color: #333;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.intention-section .count {
    font-weight: 400;
    color: #999;
    font-size: 0.9rem;
}

.hares-section { border-left: 4px solid #6d4aff; }
.running-section { border-left: 4px solid #2196f3; }
.eating-section { border-left: 4px solid #ff9800; }
.both-section { border-left: 4px solid #9c27b0; }

.hash-handle {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.also-badge {
    font-size: 12px;
    background: #ffe0b2;
    color: #e65100;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 8px;
}

.inline-toggle {
    display: inline;
    margin: 0;
}

.toggle-group {
    display: inline-flex;
    gap: 5px;
}

.toggle-btn {
    border: none;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 12px;
    cursor: pointer;
    font-weight: 600;
    min-width: 30px;
}

.toggle-on { background: #4caf50; color: #fff; }
.toggle-off { background: #f44336; color: #fff; }

/* ==========================================
   CONTENT BLOCKS (Static pages)
   ========================================== */
.content-block {
    line-height: 1.8;
}

.static-page-content {
    max-width: 100%;
    line-height: 1.8;
}

/* ==========================================
   UTILITIES
   ========================================== */
.hidden { display: none !important; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* ==========================================
   MODAL
   ========================================== */

.confirm-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.confirm-modal {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.confirm-modal-title {
    margin: 0 0 1rem 0;
    color: var(--primary, #6d4aff);
    font-size: 1.1rem;
}

.confirm-modal-message {
    margin: 0 0 1.5rem 0;
    color: #666;
    line-height: 1.5;
}

.confirm-modal-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

.confirm-modal-btn-cancel {
    padding: 0.6rem 1.5rem;
    background: #f0f0f0;
    color: #666;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

.confirm-modal-btn-ok {
    padding: 0.6rem 1.5rem;
    background: #f44336;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 768px) {
    .site-header {
        position: sticky;
        top: 0;
        z-index: 100;
    }

    .navbar {
        flex-direction: row;  /* Keep logo and hamburger on the same line */
        padding: 8px 16px;
        position: relative;   /* Needed for absolute dropdown */
    }

    .navbar .logo a {
        font-size: 1.2rem;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-dark, #4a2db8);
        padding: 10px 16px;
        gap: 4px;
        z-index: 1000;
    }

    .nav-menu.show {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
    }

    .nav-menu li a {
        width: 100%;
        padding: 12px 16px;
        font-size: 16px;
        border-radius: 6px;
        display: block;
    }

    .hero { padding: 60px 20px; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-actions .btn { width: 200px; }
    .features { padding: 40px 0; }/* ==========================================
   UNORDERED LISTS (BULLETS) - INDENTED
   Scoped to main content only
   ========================================== */

.main-content ul {
    margin-bottom: 1rem;
    margin-left: 1.5rem;
    padding-left: 0.5rem;
}

.main-content ul li {
    margin-bottom: 0.5rem;
    list-style-type: disc;
    line-height: 1.6;
}

.main-content ul li ul {
    margin-top: 0.5rem;
    margin-left: 1rem;
}

.main-content ul li ul li {
    list-style-type: circle;
}

.main-content ul li ul li ul li {
    list-style-type: square;
}

.main-content ol {
    margin-bottom: 1rem;
    margin-left: 1.5rem;
    padding-left: 0.5rem;
    counter-reset: item;
}

.main-content ol li {
    margin-bottom: 0.5rem;
    list-style-type: decimal;
    line-height: 1.6;
}
    .run-actions { flex-direction: column; }
    .button-row { flex-direction: column; }
    .intention-buttons .btn { width: 100%; }
    .form-row { grid-template-columns: 1fr; flex-direction: column; gap: 0; }
    .form-actions { flex-direction: column; }
    .form-actions .btn { width: 100%; }
    .card-header { flex-direction: column; gap: 12px; }
    .card-footer { flex-direction: column; }
    .emergency-page { max-width: 100%; padding: 0 15px; }
    .participant-list li { flex-direction: column; align-items: flex-start; gap: 5px; }
    .footer-content { flex-direction: column; }
}

@media (max-width: 480px) {
    .auth-card { padding: 30px 20px; }
    .run-header { padding: 15px; }
    .feature-grid { grid-template-columns: 1fr; }
}

/* ==========================================
   FORM DROPDOWNS - WHITE BACKGROUND
   ========================================== */

.form-group select {
    background-color: #ffffff !important;
    background-image: none !important;
    color: var(--dark);
}

.form-group select option {
    background-color: #ffffff;
    color: var(--dark);
}

/* Fix for any other select elements */
select {
    background-color: #ffffff;
    color: var(--dark);
}

select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(109, 74, 255, 0.15);
}


/* ==========================================
   UNORDERED LISTS (BULLETS) - INDENTED
   Scoped to main content only
   ========================================== */

.main-content ul {
    margin-bottom: 1rem;
    margin-left: 1.5rem;
    padding-left: 0.5rem;
}

.main-content ul li {
    margin-bottom: 0.5rem;
    list-style-type: disc;
    line-height: 1.6;
}

.main-content ul li ul {
    margin-top: 0.5rem;
    margin-left: 1rem;
}

.main-content ul li ul li {
    list-style-type: circle;
}

.main-content ul li ul li ul li {
    list-style-type: square;
}

.main-content ol {
    margin-bottom: 1rem;
    margin-left: 1.5rem;
    padding-left: 0.5rem;
    counter-reset: item;
}

.main-content ol li {
    margin-bottom: 0.5rem;
    list-style-type: decimal;
    line-height: 1.6;
}

/* ==========================================
   BLOCKQUOTES - STYLISED
   ========================================== */

blockquote {
    margin: 1.5rem 0;
    padding: 20px 30px;
    background: linear-gradient(135deg, rgba(109, 74, 255, 0.05) 0%, rgba(109, 74, 255, 0.1) 100%);
    border-radius: 8px;
    position: relative;
}

blockquote p {
    margin: 0;
    font-style: italic;
    color: var(--dark);
    font-size: 1.05rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

blockquote:before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 3rem;
    font-family: Georgia, serif;
    color: var(--primary);
    opacity: 0.2;
    line-height: 1;
}

blockquote + cite {
    display: block;
    margin-top: 10px;
    color: var(--gray-600);
    font-size: 0.9rem;
    font-style: italic;
    padding-left: 30px;
    position: relative;
}

blockquote + cite:before {
    content: '— ';
    margin-right: 5px;
}

/* Inline blockquote usage */
blockquote.cite-with-author {
    padding-right: 15px;
}

blockquote.cite-with-author p {
    margin-bottom: 10px;
}

/* ==========================================
   STATIC PAGE CONTENT FORMATTING
   ========================================== */

.content-block ul,
.static-page-content ul,
.page-content ul {
    margin-left: 1.5rem;
    padding-left: 0.5rem;
}

.content-block ol,
.static-page-content ol,
.page-content ol {
    margin-left: 1.5rem;
    padding-left: 0.5rem;
}

.content-block blockquote,
.static-page-content blockquote,
.page-content blockquote {
    margin: 20px 0;
}

blockquote p {
    margin: 0;
    font-style: italic;
    color: var(--dark);
    font-size: 1.05rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

blockquote p + p {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }

.main-content .content-block ul,
.main-content .static-page-content ul,
.main-content .page-content ul {
    margin-left: 1.5rem;
    padding-left: 0.5rem;
}

.main-content .content-block ol,
.main-content .static-page-content ol,
.main-content .page-content ol {
    margin-left: 1.5rem;
    padding-left: 0.5rem;
}

/* ==========================================
   PASSWORD VISIBILITY TOGGLE
   ========================================== */

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

.password-wrapper input {
    width: 100%;
    padding-right: 45px !important;
}

.password-toggle {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    height: 46px;
}

.password-toggle:hover {
    color: var(--primary);
}

.password-toggle svg {
    width: 20px;
    height: 20px;
}

/* When toggled, swap icon */
.password-toggle.toggled svg {
    /* You could use a different SVG for "eye-off" state */
}

/* ==========================================
   TWO COLUMN LAYOUT (Content + Sidebar)
   ========================================== */

/* Default: single column (no sidebar) */
.content-wrapper.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 15px;
}

/* Two-column layout ONLY when sidebar is present */
.content-wrapper.container.has-sidebar {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
}

.main-content {
    min-width: 0; /* Prevent overflow */
}

.page-sidebar {
    position: sticky;
    top: 90px;
    height: fit-content;
    align-self: start;
}

.sidebar-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(109, 76, 239, 0.1);
    padding: 25px;
    margin-bottom: 25px;
}

.sidebar-card h3 {
    margin: 0 0 15px 0;
    color: var(--primary);
    font-size: 1.1rem;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gray-200);
}

.sidebar-card p {
    margin-bottom: 10px;
    line-height: 1.6;
}

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

.sidebar-links li {
    margin-bottom: 8px;
}

.sidebar-links a {
    color: var(--text-color);
    text-decoration: none;
    padding: 8px 0;
    display: block;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.sidebar-links a:hover {
    color: var(--primary);
    padding-left: 8px;
}

/* Tablet */
@media (max-width: 992px) {
    .content-wrapper.container {
        grid-template-columns: 1fr 250px;
        gap: 20px;
    }
    
    .page-sidebar {
        top: 80px;
    }
}

/* Mobile - Sidebar stacks BELOW main content */
/* Mobile - Sidebar stacks BELOW main content */
@media (max-width: 768px) {
    .content-wrapper.container.has-sidebar {  /* ← ADDED .has-sidebar */
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .page-sidebar {
        position: static;
    }
}

/* ============================================
   ADMIN NEWSLETTER CREATE PAGE
   ============================================ */
.admin-newsletter-create { max-width: 900px; margin: 0 auto; }

.admin-form .form-section {
    margin-bottom: 30px;
    padding: 25px;
    background: #fff;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}
.admin-form .form-section h3 {
    margin-top: 0;
    color: var(--primary);
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 12px;
    margin-bottom: 20px;
    font-size: 1.2rem;
}
.admin-form .form-row { display: flex; gap: 15px; flex-wrap: wrap; }
.admin-form .form-row .form-group { flex: 1; min-width: 250px; }
.admin-form .form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}
.admin-form .form-group input[type="text"],
.admin-form .form-group input[type="email"],
.admin-form .form-group textarea,
.admin-form .form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s;
}
.admin-form .form-group input:focus,
.admin-form .form-group textarea:focus,
.admin-form .form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(109, 76, 255, 0.1);
}
.admin-form .form-group small {
    display: block;
    margin-top: 6px;
    color: #666;
    font-size: 12px;
}

.admin-form .alert-info {
    background: #e3f2fd;
    color: #0d47a1;
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 13px;
}
.admin-form .preview-box {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid var(--primary);
}
.admin-form .preview-code {
    font-family: 'Courier New', monospace;
    background: #e9ecef;
    padding: 3px 8px;
    border-radius: 4px;
}

/* File Upload Area */
.admin-form .upload-area {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    background: #fafafa;
    transition: all 0.2s;
    cursor: pointer;
    position: relative;
}
.admin-form .upload-area:hover {
    border-color: var(--primary);
    background: #f0f0ff;
}
.admin-form .upload-area.drag-over {
    border-color: var(--primary);
    background: #f0f0ff;
}
.admin-form .upload-icon {
    font-size: 48px;
    color: #aaa;
    margin-bottom: 10px;
}
.admin-form .upload-area input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    cursor: pointer;
}
.admin-form .upload-text { font-weight: 500; color: #555; }
.admin-form .upload-hint { font-size: 12px; color: #888; margin-top: 5px; }

.admin-form .file-list { margin-top: 15px; padding: 0; list-style: none; }
.admin-form .file-list li {
    background: #e8f4e8;
    padding: 8px 12px;
    border-radius: 4px;
    margin-bottom: 5px;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.admin-form .file-list li.invalid {
    background: #ffe3e3;
}
.admin-form .file-list li .file-size { color: #666; font-size: 11px; }

.admin-form .form-actions {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

@media (max-width: 768px) {
    .admin-form .form-row { flex-direction: column; }
    .admin-form .form-row .form-group { width: 100%; }
    .admin-form .form-actions { flex-direction: column; }
    .admin-form .form-actions .btn { width: 100%; text-align: center; }
}

/* ============================================
   ADMIN NEWSLETTER STATS PAGE
   ============================================ */
.admin-newsletter-stats h1 { margin-bottom: 20px; }

.stats-header {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}
.stat-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    text-align: center;
}
.stat-card h3 {
    margin: 0 0 10px;
    font-size: 2rem;
    color: var(--primary);
}
.stat-card p { margin: 0; color: #666; font-size: 14px; }

.recipients-table {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.recipients-table th {
    background: var(--primary);
    color: white;
    padding: 12px;
    text-align: left;
}
.recipients-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #eee;
}

.badge {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}
.badge-sent { background: #d4edda; color: #155724; }
.badge-failed { background: #f8d7da; color: #721c24; }
.badge-pending { background: #fff3cd; color: #856404; }

.collapsible-section { margin-bottom: 30px; }
.collapsible-section summary {
    cursor: pointer;
    color: var(--primary);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 12px 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
}
.collapsible-section summary::before {
    content: '\25B6';
    font-size: 0.8rem;
    transition: transform 0.2s;
}
.collapsible-section[open] summary::before {
    transform: rotate(90deg);
}
.collapsible-section summary::-webkit-details-marker { display: none; }
.collapsible-content {
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    margin-top: 10px;
}

.raw-html-toggle summary {
    cursor: pointer;
    color: var(--primary);
    font-weight: 600;
    list-style: none;
}
.raw-html-toggle summary::-webkit-details-marker { display: none; }

/* ======================================
   PUBLIC MISMANAGEMENT PAGE
   ====================================== */

.mgmt-public-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.mgmt-public-header {
    text-align: left;
    margin-bottom: 50px;
}

.mgmt-public-header h1 {
    color: var(--primary);
    margin-bottom: 10px;
}

.mgmt-public-header p {
    color: #888;
    font-size: 1.1rem;
}

.mgmt-current-title {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: #333;
    text-align: center;
}

.mgmt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.mgmt-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(109, 74, 255, 0.1);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.mgmt-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(109, 74, 255, 0.15);
}

.mgmt-card-body {
    padding: 25px;
}

.mgmt-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.mgmt-card-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
    text-transform: uppercase;
}

.mgmt-card-avatar img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
}

.mgmt-card-position {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.mgmt-card-handle {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 15px;
}

.mgmt-card-handle a {
    color: inherit;
    text-decoration: none;
}

.mgmt-card-handle a:hover {
    text-decoration: underline;
}

.mgmt-card-desc {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

.mgmt-vacant {
    color: #ccc;
    font-style: italic;
}

.mgmt-history-section {
    margin-top: 60px;
}

.mgmt-history-title {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: #333;
}

.mgmt-accordion-item {
    border: 1px solid #e0e0e5;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}

.mgmt-accordion-header {
    background: #f8f6ff;
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

.mgmt-accordion-header:hover {
    background: #f0ebff;
}

.mgmt-accordion-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

.mgmt-accordion-arrow {
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s;
}

.mgmt-accordion-item.active .mgmt-accordion-arrow {
    transform: rotate(180deg);
}

.mgmt-accordion-content {
    display: none;
    padding: 20px;
    background: white;
}

.mgmt-accordion-item.active .mgmt-accordion-content {
    display: block;
}

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

.mgmt-history-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f5;
}

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

.mgmt-history-position {
    font-weight: 600;
    color: #333;
}

.mgmt-history-user {
    color: var(--primary);
}

.mgmt-history-user a {
    color: inherit;
    text-decoration: none;
}

.mgmt-history-user a:hover {
    text-decoration: underline;
}

.mgmt-history-agpu {
    margin-top: 15px;
    padding: 15px;
    background: #f8f6ff;
    border-radius: 8px;
    color: #666;
}

.mgmt-no-data {
    text-align: center;
    padding: 40px;
    color: #999;
    font-size: 1.1rem;
}

.mgmt-card-avatar-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    background: #f0f0f0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}


.mgmt-card-avatar-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mgmt-card-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 2rem;
    color: white;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--primary) 0%, #5a3de0 100%);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.mgmt-card-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Carousel Styles */
.mgmt-history-section {
    margin-top: 60px;
}

.mgmt-carousel {
    max-width: 700px;
    margin: 0 auto 30px;
    padding: 40px 60px 20px; /* Extra padding left/right for arrows */
}

.mgmt-carousel-slide {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(109, 74, 255, 0.1);
    padding: 30px 40px;
    text-align: center;
}

.mgmt-carousel-slide .mgmt-year-badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1.2rem;
}

.mgmt-carousel-header {
    margin-bottom: 25px;
}

.mgmt-carousel-counter {
    text-align: center;
    color: #888;
    font-size: 0.85rem;
    margin-top: 15px;
}

.swiper-pagination {
    margin-top: 10px !important;
    position: relative !important;
}

.swiper-button-prev,
.swiper-button-next {
    color: var(--primary) !important;
    opacity: 0.7;
    transition: opacity 0.2s;
    width: 40px !important;
    height: 40px !important;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    opacity: 1;
}


.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 1.8rem !important;
    font-weight: 700;
    letter-spacing: 2px;
}

.swiper-pagination-bullet-active {
    background: var(--primary) !important;
}

/* Make arrows smaller and pushed outward */
.swiper-button-prev {
    left: -5px !important;
}

.swiper-button-next {
    right: -5px !important;
}

/* Carousel slide styles override */
.mgmt-carousel-slide ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mgmt-carousel-slide .mgmt-history-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 20px;
    max-width: 500px; /* Constrain text width */
}

.mgmt-carousel-slide .mgmt-history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f5;
    text-align: left;
}

.mgmt-carousel-slide .mgmt-history-item:last-child {
    border-bottom: none;
}

.mgmt-carousel-slide .mgmt-history-position {
    font-weight: 600;
    color: #333;
    text-align: left;
    padding-right: 15px;
}

.mgmt-carousel-slide .mgmt-history-user {
    color: var(--primary);
    text-align: right;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mgmt-carousel-slide .mgmt-history-user a {
    color: inherit;
    text-decoration: none;
}

.mgmt-carousel-slide .mgmt-history-user a:hover {
    text-decoration: underline;
}

.mgmt-carousel-slide .mgmt-history-agpu {
    margin-top: 15px;
    padding: 15px 20px;
    background: #f8f6ff;
    border-radius: 8px;
    color: #666;
    text-align: center;
    font-size: 0.95rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .mgmt-grid {
        grid-template-columns: 1fr;
    }
    .mgmt-card {
        max-width: 400px;
        margin: 0 auto;
    }
    .mgmt-history-item {
        flex-direction: column;
        gap: 5px;
    }
}