/* =================================================================
   CalPro - Event Management System
   Modern Design with New Color Palette
   ================================================================= */

/* 🎨 Color Variables - CalPro Event Management */
:root {
    /* צבעים ראשיים - אנרגטי וחגיגי למערכת אירועים */
    --primary-color: #6366f1;         /* אינדיגו חזק - יצירתיות */
    --secondary-color: #8b5cf6;       /* סגול יפה - חדשנות */
    --accent-color: #ec4899;          /* ורוד חגיגי - אירועים */
    
    /* צבעי סטטוס מודרניים */
    --success-color: #10b981;         /* ירוק הצלחה */
    --warning-color: #f59e0b;         /* כתום אזהרה */
    --danger-color: #ef4444;          /* אדום שגיאה */
    --info-color: #06b6d4;            /* ציאן מידע */
    
    /* צבעי רקע */
    --bg-primary: #f8fafc;            /* רקע בהיר */
    --bg-secondary: #f1f5f9;          /* רקע משני */
    --dark-bg: #1e293b;               /* רקע כהה */
    
    /* צבעי טקסט */
    --text-primary: #1e293b;          /* טקסט ראשי */
    --text-secondary: #64748b;        /* טקסט משני */
    --text-muted: #94a3b8;            /* טקסט עמום */
    --light-gray: #f8f9fa;            /* רקע בהיר */
    
    /* גרדיאנטים מודרניים */
    --gradient-primary: linear-gradient(135deg, #6f42c1 0%, #5a32a3 50%, #8b5cf6 100%);
    --gradient-accent: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%);
    --gradient-button: linear-gradient(135deg, #6366f1, #8b5cf6);
}

/* 🌍 Global Body Styles */
body {
    font-family: 'Heebo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--gradient-primary);
    min-height: 100vh;
    margin: 0;
    position: relative;
    overflow-x: hidden;
    color: var(--text-primary);
}

/* 🎨 White text on purple background */
#mainContent > .row > .col-12 > h2,
#mainContent > .row > .col-12 > h1,
#mainContent > .row > .col-12 > .text-white {
    color: white !important;
}

/* 🔘 Buttons on purple background - white border */
#mainContent .btn-outline-primary,
#mainContent .btn-outline-secondary,
#mainContent .btn-outline-success,
#mainContent .btn-outline-info,
#mainContent .btn-outline-warning,
#mainContent .btn-outline-danger {
    border-color: white;
    color: white;
}

#mainContent .btn-outline-primary:hover,
#mainContent .btn-outline-secondary:hover,
#mainContent .btn-outline-success:hover,
#mainContent .btn-outline-info:hover,
#mainContent .btn-outline-warning:hover,
#mainContent .btn-outline-danger:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: white;
    color: white;
}

body::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(236, 72, 153, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* 📦 Loading Spinner */
#loading {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
}

/* 📊 Statistics Cards - Desktop Layout */
.stat-card .card-body {
    padding: 1.5rem;
}

.stat-card-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.stat-icon {
    font-size: 2rem;
    opacity: 0.9;
}

.stat-info {
    flex: 1;
}

.stat-info .card-title {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.25rem !important;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.stat-description {
    font-size: 0.75rem;
    opacity: 0.9;
    margin-bottom: 0 !important;
}

/* 📱 Mobile Statistics Cards - Compact Layout */
@media (max-width: 767.98px) {
    /* Maximize screen width usage - AGGRESSIVE */
    body {
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .container-fluid {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin: 0 !important;
        max-width: 100% !important;
    }
    
    #mainApp {
        padding: 0 !important;
        margin: 0 !important;
    }
    
    #mainContent {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin: 0 !important;
        width: 100% !important;
    }
    
    #mainContent > .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }
    
    /* Title row - add minimal padding for readability */
    #mainContent > .row:first-child {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
    
    /* Minimize gaps between cards */
    .row.g-4 {
        gap: 0.5rem !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }
    
    .row.g-4 > [class*="col-"] {
        padding-left: 0.25rem !important;
        padding-right: 0.25rem !important;
    }
    
    /* First column in each row - remove left padding */
    .row.g-4 > [class*="col-"]:nth-child(odd) {
        padding-left: 0 !important;
    }
    
    /* Last column in each row (even) - remove right padding */
    .row.g-4 > [class*="col-"]:nth-child(even) {
        padding-right: 0 !important;
    }
    
    .stat-card {
        margin: 0 !important;
        width: 100% !important;
    }
    
    .stat-card .card-body {
        padding: 0.75rem !important;
    }
    
    .stat-card-content {
        gap: 0.5rem;
        margin-bottom: 0 !important;
    }
    
    .stat-icon {
        font-size: 1.5rem;
    }
    
    .stat-info {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
    }
    
    .stat-info .card-title {
        font-size: 0.75rem;
        margin: 0 !important;
        white-space: nowrap;
    }
    
    .stat-number {
        font-size: 1.25rem;
        font-weight: 700;
    }
    
    .stat-description {
        display: none; /* Hide description in mobile */
    }
}

/* 📱 Mobile Navigation Enhancements */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: linear-gradient(135deg, rgba(111, 66, 193, 0.98) 0%, rgba(90, 50, 163, 0.98) 100%);
        backdrop-filter: blur(10px);
        border-radius: 12px;
        margin-top: 1rem;
        padding: 1rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }
    
    .navbar-nav {
        gap: 0.5rem;
    }
    
    .nav-item .nav-link {
        padding: 0.75rem 1rem;
        border-radius: 8px;
        transition: all 0.2s ease;
        color: rgba(255, 255, 255, 0.9) !important;
    }
    
    .nav-item .nav-link:hover,
    .nav-item .nav-link.active {
        background: rgba(255, 255, 255, 0.25);
        transform: translateX(5px);
        color: white !important;
    }
    
    .navbar-brand img {
        height: 30px !important;
        filter: brightness(0) invert(1);
    }
    
    .navbar-toggler {
        border: 2px solid rgba(255, 255, 255, 0.5);
        padding: 0.5rem 0.75rem;
    }
    
    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
    }
    
    /* Additional mobile optimizations */
    .container-fluid {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
    
    /* Mobile cards spacing */
    .card {
        margin-bottom: 0.75rem;
    }
    
    .row.mt-4 {
        margin-top: 1rem !important;
    }
    
    .row.mt-4 > [class*="col-"] {
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }
}

/* 🎴 Card Styles */
.card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 10px 25px rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 15px 35px rgba(99, 102, 241, 0.2);
}

.card-header {
    background: transparent;
    border-bottom: 2px solid rgba(99, 102, 241, 0.1);
    font-weight: 600;
    color: var(--primary-color);
}

.card-body {
    padding: 1.5rem;
}

/* 🔘 Button Styles */
.btn {
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: none;
}

.btn-primary {
    background: var(--gradient-button);
    color: white;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.6);
    color: white;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: var(--gradient-accent);
    color: white;
    box-shadow: 0 8px 20px rgba(236, 72, 153, 0.4);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(236, 72, 153, 0.6);
    color: white;
}

.btn-success {
    background: var(--success-color);
    color: white;
}

.btn-warning {
    background: var(--warning-color);
    color: white;
}

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

.btn-info {
    background: var(--info-color);
    color: white;
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

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

/* 🧭 Navbar Styles */
.navbar {
    background: linear-gradient(135deg, #6f42c1 0%, #5a32a3 100%) !important;
    box-shadow: 0 4px 20px rgba(111, 66, 193, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: white !important;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.navbar-brand:hover {
    opacity: 0.8;
}

.navbar-brand img {
    filter: brightness(0) invert(1);
    height: 35px;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.75rem 1rem;
    margin: 0 0.25rem;
    border-radius: 8px;
}

.navbar-nav .nav-link:hover {
    color: white !important;
    background: rgba(255, 255, 255, 0.2);
}

.navbar-nav .nav-link.active {
    color: white !important;
    background: rgba(255, 255, 255, 0.25);
    font-weight: 600;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* 📝 Form Styles */
.form-control, .form-select {
    border-radius: 12px;
    border: 2px solid rgba(99, 102, 241, 0.1);
    padding: 12px 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.25);
    background: white;
    transform: translateY(-1px);
    outline: none;
}

.form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

/* 🎯 Modal Styles */
.modal-content {
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
}

.modal-header {
    background: var(--gradient-button);
    color: white;
    border-radius: 20px 20px 0 0;
    border-bottom: none;
    padding: 1.5rem;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    border-top: 1px solid rgba(99, 102, 241, 0.1);
    padding: 1.5rem;
}

/* 📊 Table Styles */
.table-responsive {
    border-radius: 12px;
    overflow: hidden;
}

.table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 0;
}

.table thead {
    background: var(--gradient-button);
    color: white;
}

.table thead th {
    border: none;
    padding: 1rem;
    font-weight: 600;
}

.table tbody tr {
    transition: all 0.2s ease;
}

.table tbody tr:hover {
    background: rgba(99, 102, 241, 0.05);
    transform: translateX(-2px);
}

.table tbody td {
    padding: 1rem;
    vertical-align: middle;
    border-bottom: 1px solid rgba(99, 102, 241, 0.05);
}

/* 🏷️ Badge Styles */
.badge {
    border-radius: 8px;
    padding: 6px 12px;
    font-weight: 600;
    font-size: 0.875rem;
}

.badge.bg-primary {
    background: var(--primary-color) !important;
}

.badge.bg-success {
    background: var(--success-color) !important;
}

.badge.bg-warning {
    background: var(--warning-color) !important;
}

.badge.bg-danger {
    background: var(--danger-color) !important;
}

.badge.bg-info {
    background: var(--info-color) !important;
}

/* 🎪 Main Content Area */
#mainContent {
    min-height: calc(100vh - 76px);
    padding: 2rem;
}

/* 🔐 Login/Register Screens */
#loginScreen .card,
#registerScreen .card {
    border: none;
    border-radius: 24px;
    max-width: 450px;
    width: 100%;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 15px 35px rgba(99, 102, 241, 0.15);
}

#loginScreen .card-body,
#registerScreen .card-body {
    padding: 3rem;
}

/* 📅 FullCalendar Customization */
#calendar {
    max-width: 100%;
    margin: 0 auto;
    background: white;
    padding: 0;
    border-radius: 0;
    overflow: hidden !important;
    overflow-x: hidden !important;
    height: auto !important;
}

.fc {
    direction: rtl;
}

/* Move toolbar outside and style it */
.calendar-toolbar-external {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.calendar-toolbar-external .fc-header-toolbar {
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
}

/* Style calendar content area */
.fc-view-harness {
    padding: 0;
}

/* Empty day message styling */
.empty-day-message {
    z-index: 10;
    pointer-events: none;
}

/* Color box for legend */
.color-box {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    vertical-align: middle;
    margin-right: 5px;
}

/* Calendar navigation buttons - better icons */
.calendar-toolbar-external .bi-chevron-right,
.calendar-toolbar-external .bi-chevron-left {
    font-size: 1.1em;
}

.calendar-toolbar-external .btn-group {
    border: none;
    background-color: transparent;
}

.calendar-toolbar-external .btn-group .btn {
    margin: 0 2px;
}

/* Calendar height - no scroll - FORCE IT! */
.fc-scroller {
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
}

.fc-scroller-liquid {
    height: auto !important;
    max-height: none !important;
}

.fc-scroller-liquid-absolute {
    position: static !important;
    height: auto !important;
    max-height: none !important;
}

.fc-timegrid-body {
    height: auto !important;
}

.fc-daygrid-body {
    height: auto !important;
}

.fc-scrollgrid {
    height: auto !important;
}

.fc-scrollgrid-sync-table {
    height: auto !important;
}

/* Month view - colored cells */
.fc-dayGridMonth .fc-daygrid-day.has-event,
.fc-dayGridMonth .fc-daygrid-day.has-holiday {
    border: 1px solid rgba(0,0,0,0.1);
}

/* Ensure list view has no colored backgrounds */
.fc-listWeek .fc-list-day {
    background-color: transparent !important;
}

.fc-listWeek .fc-list-event {
    background-color: transparent !important;
}

/* Calendar toolbar styling */
.calendar-toolbar-external {
    background-color: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    margin-bottom: 20px;
}

.calendar-toolbar-external .btn-outline-secondary {
    background-color: #6c757d;
    color: white;
    border-color: #6c757d;
}

.calendar-toolbar-external .btn-outline-secondary:hover {
    background-color: #5a6268;
    border-color: #545b62;
    color: white;
}

.calendar-toolbar-external .btn-outline-primary {
    background-color: white !important;
    color: #6f42c1 !important;
    border: 2px solid #6f42c1 !important;
    font-weight: 500;
}

.calendar-toolbar-external .btn-outline-primary:hover {
    background-color: #6f42c1 !important;
    color: white !important;
    border-color: #6f42c1 !important;
}

.calendar-toolbar-external .btn-check:checked + .btn-outline-primary {
    background-color: #6f42c1 !important;
    color: white !important;
    border-color: #6f42c1 !important;
}

#calendar-title {
    color: #2c3e50;
    font-weight: 600;
    font-size: 1.3em;
    min-width: 120px;
    text-align: center;
}

@media (max-width: 768px) {
    #calendar-title {
        font-size: 1.1em;
        min-width: 100px;
    }
}

/* ========== CUSTOM WEEK VIEW - SIMPLE VERSION ========== */
.custom-week-view {
    width: 100%;
    overflow: hidden;
    padding: 10px;
}

.week-day-section {
    margin-bottom: 20px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
}

.week-day-header {
    background-color: #f8f9fa;
    padding: 12px 16px;
    font-weight: bold;
    font-size: 1.1em;
    border-bottom: 1px solid #dee2e6;
}

.week-day-header.has-events {
    background-color: #e9ecef;
}

.week-day-events {
    padding: 10px;
    background-color: white;
}

.week-event-item {
    padding: 8px 12px;
    margin-bottom: 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.week-event-item.event {
    background-color: #f3e5f5;
    border-right: 4px solid #9b59b6;
}

.week-event-item.event:hover {
    background-color: #e1bee7;
}

.week-event-item.holiday {
    background-color: #fffde7;
    border-right: 4px solid #ffd700;
}

.week-event-item.holiday:hover {
    background-color: #fff9c4;
}

.event-time {
    font-size: 0.9em;
    color: #666;
    min-width: 50px;
    direction: ltr;
}

.event-title {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.no-events-text {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    padding: 20px;
}

/* Mobile adjustments for custom week view */
@media (max-width: 768px) {
    .custom-week-view {
        padding: 5px;
    }
    
    .week-day-section {
        margin-bottom: 15px;
    }
    
    .week-day-header {
        padding: 10px 12px;
        font-size: 1em;
    }
    
    .week-day-events {
        padding: 8px;
    }
    
    .week-event-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        padding: 10px;
    }
    
    .event-time {
        font-size: 0.85em;
    }
    
    .event-title {
        white-space: normal;
        line-height: 1.3;
    }
}

/* ========== WEEK VIEW - COMPLETE REBUILD ========== */
/* Remove ALL FullCalendar list view defaults and start fresh */
.fc-listWeek-view,
.fc-list-view,
.fc-listWeek {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    overflow-x: hidden !important;
    position: relative !important;
}

/* Main container */
.fc-list-view .fc-view-harness {
    height: auto !important;
    overflow: hidden !important;
}

.fc-list-view .fc-scroller {
    overflow: hidden !important;
    height: auto !important;
}

/* The actual list table */
.fc-list-table {
    width: 100% !important;
    table-layout: auto !important; /* Let content decide width */
}

/* Day headers */
.fc-list-day th {
    background-color: #f8f9fa !important;
    padding: 10px 15px !important;
    text-align: right !important;
    font-weight: bold !important;
}

/* Event rows */
.fc-list-event {
    cursor: pointer;
}

.fc-list-event td {
    padding: 8px 10px !important;
}

/* Time column - fixed width */
.fc-list-event-time {
    width: 60px !important;
    text-align: center !important;
    direction: ltr !important;
}

/* Title column - takes remaining space */
.fc-list-event-title {
    width: auto !important;
    padding-right: 10px !important;
}

/* Dot/graphic column */
.fc-list-event-graphic {
    width: 20px !important;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    /* Stack event info vertically */
    .fc-list-event {
        display: block !important;
    }
    
    .fc-list-event td {
        display: block !important;
        width: 100% !important;
        padding: 5px 15px !important;
    }
    
    .fc-list-event-time {
        width: 100% !important;
        text-align: right !important;
        font-size: 0.9em !important;
        color: #6c757d !important;
    }
    
    .fc-list-event-title {
        width: 100% !important;
        font-weight: 500 !important;
    }
    
    .fc-list-event-graphic {
        display: none !important;
    }
}

/* FORCE NO HORIZONTAL SCROLL IN WEEK VIEW */
.fc-listWeek * {
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.fc-listWeek .fc-list,
.fc-listWeek .fc-scroller,
.fc-listWeek .fc-scroller-harness,
.fc-listWeek .fc-view-harness {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    width: 100% !important;
}

/* Hide any element that might cause overflow */
.fc-list-event-time,
.fc-list-event-title,
.fc-list-event td {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Hide ALL event content - no text at all! */
.fc-daygrid-event {
    display: none !important;
}

.fc-daygrid-day-events {
    display: none !important;
}

.fc-daygrid-more-link {
    display: none !important;
}

.fc-daygrid-day-bg {
    display: none !important;
}

/* Hide holiday background events */
.fc-bg-event {
    display: none !important;
}

.fc-event {
    display: none !important;
}

.fc-event-title {
    display: none !important;
}

/* For mobile - ensure nothing shows */
@media (max-width: 768px) {
    .fc-daygrid-event,
    .fc-event,
    .fc-bg-event,
    .fc-event-title,
    .fc-event-time {
        display: none !important;
    }
    
    /* Make day cells more compact on mobile */
    .fc-daygrid-day {
        min-height: 50px !important;
    }
    
    .fc-daygrid-day-frame {
        min-height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .fc-daygrid-day-number {
        font-size: 1rem !important;
        padding: 0 !important;
    }
}

/* Mobile calendar adjustments */
@media (max-width: 768px) {
    #calendar {
        padding: 0;
        border-radius: 0;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }
    
    .card-body {
        padding: 0 !important;
        overflow: hidden !important;
        overflow-x: hidden !important;
    }
    
    .card {
        overflow: hidden !important;
    }
    
    /* Specific for week view on mobile */
    body.fc-listWeek-view {
        overflow-x: hidden !important;
    }
    
    #main-content {
        overflow-x: hidden !important;
    }
    
    .fc {
        height: auto !important;
    }
    
    /* Smaller font sizes for mobile */
    .fc-toolbar-title {
        font-size: 1.1rem !important;
    }
    
    .fc-button {
        padding: 0.25rem 0.4rem !important;
        font-size: 0.8rem !important;
    }
    
    /* Adjust button groups for mobile */
    .fc-button-group {
        display: flex !important;
    }
    
    .fc-toolbar {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .fc-toolbar-chunk {
        display: flex;
        align-items: center;
    }
    
    /* Hide week numbers on mobile */
    .fc-daygrid-week-number {
        display: none !important;
    }
    
    /* Remove all scrolling from calendar */
    .fc-scroller {
        overflow: visible !important;
        height: auto !important;
    }
    
    .fc-view-harness {
        height: auto !important;
    }
    
    .fc-daygrid-body {
        height: auto !important;
    }
    
    /* Adjust event display for mobile */
    .fc-event {
        font-size: 0.7rem !important;
        padding: 1px 3px !important;
    }
    
    /* Day headers in month view */
    .fc-col-header-cell {
        padding: 3px 1px !important;
        font-size: 0.75rem !important;
    }
    
    /* Day cells */
    .fc-daygrid-day {
        min-height: 60px !important;
    }
    
    /* Day numbers */
    .fc-daygrid-day-number {
        font-size: 0.85rem !important;
        padding: 2px 4px !important;
    }
    
    /* Week/Day view time slots */
    .fc-timegrid-slot {
        height: 40px !important;
    }
    
    .fc-timegrid-slot-label {
        font-size: 0.7rem !important;
        padding: 0 2px !important;
    }
    
    /* Holiday display on mobile */
    .fc-bg-event {
        opacity: 0.15 !important;
    }
    
    .fc-bg-event .fc-event-title {
        font-size: 0.65rem !important;
        padding: 1px 2px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    /* More events link */
    .fc-daygrid-more-link {
        font-size: 0.7rem !important;
    }
    
    /* Popover for events */
    .fc-popover {
        font-size: 0.8rem !important;
    }
    
    /* Force no scroll on all calendar elements */
    .fc-view,
    .fc-view > table,
    .fc-scrollgrid,
    .fc-scrollgrid-sync-table,
    .fc-scroller,
    .fc-scroller-harness,
    .fc-scroller-liquid,
    .fc-scroller-liquid-absolute {
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }
    
    /* Month view specific */
    .fc-daygrid-body,
    .fc-daygrid-body-balanced,
    .fc-daygrid-body-unbalanced {
        height: auto !important;
        overflow: visible !important;
    }
    
    /* Remove any fixed heights */
    .fc table {
        height: auto !important;
    }
}

.fc .fc-toolbar-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.fc-button {
    text-transform: capitalize !important;
    background: var(--primary-color) !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 8px 16px !important;
    transition: all 0.3s ease !important;
}

.fc-button:hover {
    background: var(--secondary-color) !important;
    transform: translateY(-2px);
}

.fc-button:disabled {
    opacity: 0.6;
}

.fc-event {
    cursor: pointer;
    border-radius: 6px;
    padding: 4px 8px;
    border: none;
    transition: all 0.2s ease;
}

.fc-event:hover {
    opacity: 0.85;
    transform: scale(1.02);
}

/* Event Status Colors */
.event-draft {
    background: var(--text-muted) !important;
}

.event-confirmed {
    background: var(--info-color) !important;
}

.event-in-progress {
    background: var(--warning-color) !important;
}

.event-completed {
    background: var(--success-color) !important;
}

.event-cancelled {
    background: var(--danger-color) !important;
}

/* 📱 Mobile Responsive Styles */
@media (max-width: 768px) {
    /* Navbar Mobile */
    .navbar {
        padding: 0.5rem 1rem;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .navbar-nav {
        flex-direction: column;
        width: 100%;
    }
    
    .navbar-nav .nav-item {
        width: 100%;
        text-align: center;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem;
        margin: 0.25rem 0;
    }
    
    /* Main Content Mobile */
    #mainContent {
        padding: 1rem;
    }
    
    /* Cards Mobile */
    .card-body {
        padding: 1rem !important;
    }
    
    /* Login/Register Mobile */
    #loginScreen .card-body,
    #registerScreen .card-body {
        padding: 2rem 1.5rem !important;
    }
    
    /* Tables to Cards */
    .table-responsive {
        border-radius: 0;
    }
    
    .table {
        font-size: 0.9rem;
    }
    
    .table thead {
        display: none;
    }
    
    .table tbody tr {
        display: block;
        margin-bottom: 1rem;
        border: 1px solid rgba(99, 102, 241, 0.1);
        border-radius: 12px;
        padding: 1rem;
        background: white;
    }
    
    .table tbody td {
        display: flex;
        justify-content: space-between;
        padding: 0.5rem 0;
        border: none;
        border-bottom: 1px solid rgba(99, 102, 241, 0.05);
    }
    
    .table tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--text-secondary);
    }
    
    .table tbody td:last-child {
        border-bottom: none;
    }
    
    /* Modals Mobile */
    .modal-dialog {
        margin: 0.5rem;
        max-width: calc(100% - 1rem);
    }
    
    .modal-body {
        padding: 1.5rem 1rem;
    }
    
    .modal-header {
        padding: 1rem;
    }
    
    /* Forms Mobile */
    .form-control, .form-select {
        font-size: 16px; /* מונע zoom ב-iOS */
        padding: 14px 12px;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
        min-height: 48px; /* Touch target size */
    }
    
    .btn-group {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .btn-group .btn {
        width: 100%;
    }
    
    /* Calendar Mobile */
    .fc .fc-toolbar {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .fc .fc-toolbar-title {
        font-size: 1.2rem;
        order: 1;
    }
    
    .fc .fc-toolbar-chunk {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .fc-button {
        padding: 10px 14px !important;
        font-size: 0.9rem !important;
    }
}

/* 📱 Extra Small Devices */
@media (max-width: 375px) {
    body {
        font-size: 14px;
    }
    
    #mainContent {
        padding: 0.75rem;
    }
    
    .card-body {
        padding: 0.75rem !important;
    }
    
    .btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
}

/* 🎨 RTL Specific Adjustments */
[dir="rtl"] .ms-2 {
    margin-right: 0.5rem !important;
    margin-left: 0 !important;
}

[dir="rtl"] .me-3 {
    margin-left: 1rem !important;
    margin-right: 0 !important;
}

[dir="rtl"] .table tbody tr:hover {
    transform: translateX(2px);
}

/* ✨ Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

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

.animate-slide-in {
    animation: slideInUp 0.6s ease-out;
}

.animate-fade-in {
    animation: fadeIn 0.4s ease-out;
}

/* ♿ Accessibility */
*:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* 🌈 Utility Classes */
.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.bg-gradient {
    background: var(--gradient-primary) !important;
}

.shadow-custom {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1),
                0 10px 25px rgba(99, 102, 241, 0.1);
}

.hide-on-mobile {
    display: block;
}

@media (max-width: 768px) {
    .hide-on-mobile {
        display: none;
    }
}

.show-on-mobile {
    display: none;
}

@media (max-width: 768px) {
    .show-on-mobile {
        display: block;
    }
}

/* =================================================================
   Back to Events Button - No Hover Effect
   ================================================================= */
.btn-outline-light:hover,
.btn-outline-light:focus,
.btn-outline-light:active {
    background-color: transparent !important;
    color: white !important;
    border-color: white !important;
}

/* Mobile Padding for Dashboard and Calendar */
@media (max-width: 768px) {
    #mainContent > .row,
    .dashboard-stats-grid,
    .dashboard-content-cards,
    #mainContent > .mb-4,
    .calendar-toolbar-external,
    #mainContent > .card {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    
    /* Ensure calendar content doesn't have double padding */
    .calendar-toolbar-external {
        margin-left: 10px;
        margin-right: 10px;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
        #mainContent > .card {
            margin-left: 10px;
            margin-right: 10px;
        }
        
        /* Leads page mobile padding */
        .leads-mobile-list {
            padding: 0 5px;
        }
        
        /* Events page mobile padding */
        .events-mobile-list {
            padding: 0 5px;
        }
        
        /* Therapists page mobile padding */
        .therapists-mobile-list {
            padding: 0 5px;
        }
        
        /* Workshops page mobile padding */
        .workshops-mobile-list {
            padding: 0 5px;
        }
        
        /* Suppliers page mobile padding */
        .suppliers-mobile-list {
            padding: 0 5px;
        }
        
        /* Mobile adjustments for therapist details page */
        /* Prevent horizontal scrolling */
        #mainContent {
            overflow-x: hidden !important;
            max-width: 100% !important;
        }
        
        /* Container fluid - prevent overflow */
        .container-fluid {
            overflow-x: hidden !important;
            max-width: 100% !important;
        }
        
        /* Therapist details cards - add 5px padding on sides */
        #therapistDetailsContent .card {
            margin-left: 5px;
            margin-right: 5px;
            width: calc(100% - 10px) !important;
            max-width: calc(100% - 10px) !important;
        }
        
        /* Ensure rows don't overflow */
        #therapistDetailsContent .row {
            margin-left: 0 !important;
            margin-right: 0 !important;
            width: 100% !important;
            max-width: 100% !important;
        }
        
        /* Columns in therapist details */
        #therapistDetailsContent [class*="col-"] {
            padding-left: 5px !important;
            padding-right: 5px !important;
            width: 100% !important;
            max-width: 100% !important;
        }
        
        /* Cards container */
        #therapistDetailsContent .card-body {
            padding: 1rem !important;
        }
        
        /* List groups in cards */
        #therapistDetailsContent .list-group-item {
            padding: 0.75rem;
            margin-left: 0;
            margin-right: 0;
        }
    }

/* Customer status background */
.bg-customer {
    background-color: #6f42c1 !important;
    color: white !important;
}

/* Calendar page specific styles */
.btn-outline-light {
    border: 2px solid white !important;
    color: white !important;
    font-weight: 500;
}

.btn-outline-light:hover {
    background-color: white !important;
    color: #6f42c1 !important;
    border-color: white !important;
}

/* Dashboard stat cards styling */
.stat-card-simple {
    padding: 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    transition: all 0.3s ease;
}

.stat-card-simple:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    filter: brightness(1.05);
}

.stat-card-simple i {
    font-size: 1.8rem;
    opacity: 0.9;
}

.stat-card-simple .stat-label {
    flex: 1;
    font-size: 0.95rem;
    opacity: 0.9;
}

.stat-card-simple .stat-value {
    font-size: 1.5rem;
    font-weight: bold;
}

/* Dashboard Stats Grid - Fix for missing cards */
.dashboard-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

/* Mobile: Vertical layout - Label top, Value bottom */
.stat-card-simple {
    background: var(--gradient-card);
    color: white;
    padding: 20px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    min-height: 90px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.stat-card-simple::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    transform: rotate(45deg);
}

.stat-card-simple:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.stat-card-simple i {
    font-size: 1.8rem;
    opacity: 0.9;
    z-index: 1;
    order: 0; /* Icon first on mobile (if exists) */
}

.stat-card-simple .stat-label {
    font-size: 0.95rem;
    opacity: 0.95;
    font-weight: 500;
    z-index: 1;
    order: 0; /* Label first */
}

.stat-card-simple .stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    z-index: 1;
    order: 1; /* Value second (below label) */
}

.stat-card-simple small {
    font-size: 0.7rem !important;
    opacity: 0.8 !important;
    z-index: 1;
    order: 3; /* Small text last */
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 2px;
}

/* Desktop view for stats */
@media (min-width: 768px) {
    .dashboard-stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
    
    .stat-card-simple {
        padding: 25px;
        min-height: 120px;
        flex-direction: row; /* Horizontal layout on desktop */
        justify-content: space-between;
        text-align: left; /* Left align on desktop */
    }
    
    .stat-card-simple i {
        font-size: 2.5rem;
        order: 0; /* Icon first on desktop */
    }
    
    .stat-card-simple .stat-label {
        font-size: 1.2rem;
        flex: 1;
        order: 1; /* Label second on desktop */
    }
    
    .stat-card-simple .stat-value {
        font-size: 2.5rem;
        order: 2; /* Value last on desktop */
    }
}

/* Leads Mobile Cards */
.leads-mobile-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.lead-mobile-card {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    cursor: pointer;
    transition: all 0.2s;
}

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

.lead-mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.lead-mobile-header strong {
    font-size: 1.1em;
    color: #2c3e50;
}

.lead-mobile-info {
    margin-bottom: 10px;
    font-size: 0.9em;
}

.lead-mobile-info > div {
    margin-bottom: 5px;
}

.lead-mobile-info i {
    width: 20px;
    color: #6c757d;
}

.lead-mobile-actions {
    display: flex;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid #e9ecef;
}

/* Events Mobile Cards */
.events-mobile-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.event-mobile-card {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    cursor: pointer;
    transition: all 0.2s;
}

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

.event-mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.event-mobile-header strong {
    font-size: 1.1em;
    color: #2c3e50;
}

.event-mobile-info {
    margin-bottom: 10px;
    font-size: 0.9em;
}

.event-mobile-info > div {
    margin-bottom: 5px;
}

.event-mobile-info i {
    width: 20px;
    color: #6c757d;
}

.event-mobile-badges {
    margin-top: 8px;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.event-mobile-actions {
    display: flex;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid #e9ecef;
}

/* Therapists Mobile Cards */
.therapists-mobile-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.therapist-mobile-card {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    cursor: pointer;
    transition: all 0.2s;
}

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

.therapist-mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.therapist-mobile-header strong {
    font-size: 1.1em;
    color: #2c3e50;
}

.therapist-mobile-info {
    margin-bottom: 10px;
    font-size: 0.9em;
}

.therapist-mobile-info > div {
    margin-bottom: 5px;
}

.therapist-mobile-info i {
    width: 20px;
    color: #6c757d;
}

.therapist-mobile-actions {
    display: flex;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid #e9ecef;
}

/* Workshops Mobile Cards */
.workshops-mobile-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.workshop-mobile-card {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.2s;
}

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

.workshop-mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.workshop-mobile-header strong {
    font-size: 1.1em;
    color: #2c3e50;
}

.workshop-mobile-info {
    margin-bottom: 10px;
    font-size: 0.9em;
}

.workshop-mobile-info > div {
    margin-bottom: 5px;
}

.workshop-mobile-info i {
    width: 20px;
    color: #6c757d;
}

.workshop-mobile-actions {
    display: flex;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid #e9ecef;
}

/* Suppliers Mobile Cards */
.suppliers-mobile-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.supplier-mobile-card {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.2s;
}

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

.supplier-mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.supplier-mobile-header strong {
    font-size: 1.1em;
    color: #2c3e50;
}

.supplier-mobile-info {
    margin-bottom: 10px;
    font-size: 0.9em;
}

.supplier-mobile-info > div {
    margin-bottom: 5px;
}

.supplier-mobile-info i {
    width: 20px;
    color: #6c757d;
}

.supplier-mobile-actions {
    display: flex;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid #e9ecef;
}

/* Event Details Stat Cards */
.event-stat-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

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

.event-stat-card .stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
    color: white;
}

.event-stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #2c3e50;
}

.event-stat-card .stat-label {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
    font-weight: 500;
}

/* Mobile adjustments for event stats */
@media (max-width: 768px) {
    .event-stat-card {
        padding: 15px;
    }
    
    .event-stat-card .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .event-stat-card .stat-number {
        font-size: 2rem;
    }
    
    .event-stat-card .stat-label {
        font-size: 0.85rem;
    }
}

/* Gradient backgrounds for headers */
.bg-gradient-primary {
    background: linear-gradient(135deg, #6f42c1 0%, #5a32a3 100%) !important;
}

.bg-gradient-info {
    background: linear-gradient(135deg, #17a2b8 0%, #148a9d 100%) !important;
}

.bg-gradient-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%) !important;
}

/* Event Detail Items */
.event-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.2s;
}

.event-detail-item:hover {
    background: #e9ecef;
    transform: translateX(-3px);
}

.event-detail-item .detail-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #6f42c1 0%, #5a32a3 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.event-detail-item .detail-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.event-detail-item .detail-label {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-detail-item .detail-value {
    font-size: 1.1rem;
    color: #2c3e50;
    font-weight: 500;
}

.event-description,
.event-notes {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
}

.event-description h6,
.event-notes h6 {
    font-size: 0.9rem;
    font-weight: 600;
}

/* Mobile adjustments for event details */
@media (max-width: 768px) {
    .event-detail-item {
        padding: 12px;
        margin-bottom: 15px;
    }
    
    .event-detail-item .detail-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .event-detail-item .detail-label {
        font-size: 0.75rem;
    }
    
    .event-detail-item .detail-value {
        font-size: 1rem;
    }
}

/* ============================================
   Login Page Styles
   ============================================ */

.login-screen {
    background: linear-gradient(135deg, #6f42c1 0%, #5a32a3 100%);
    min-height: 100vh;
}

.login-wrapper {
    max-width: 450px;
    width: 100%;
    padding: 20px;
}

.login-logo {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

.login-box {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@media (max-width: 576px) {
    .login-box {
        padding: 30px 20px;
    }
    
    .login-logo {
        max-width: 150px;
    }
}

/* Login Button Styles */
.btn-gradient {
    background: linear-gradient(135deg, #6f42c1 0%, #5a32a3 100%);
    border: none;
    color: white;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(111, 66, 193, 0.3);
}

.btn-gradient:hover {
    background: linear-gradient(135deg, #5a32a3 0%, #6f42c1 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(111, 66, 193, 0.4);
    color: white;
}

.btn-gradient:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(111, 66, 193, 0.3);
}

/* ============================================
   Admin Mobile Cards (Settings Page)
   ============================================ */
.admins-mobile-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.admin-mobile-card {
    background: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.admin-mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.admin-mobile-header strong {
    font-size: 1.1rem;
    color: #2c3e50;
}

.admin-mobile-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: #666;
}

.admin-mobile-info i {
    width: 20px;
    color: #6f42c1;
}

.admin-mobile-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

