
/* assets/css/style.css */
body, html {
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.auth-container {
    height: 100vh;
    overflow: hidden; /* Prevents scroll on desktop */
}

/* LEFT SIDE (Form) */
.auth-left {
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    height: 100%;
    overflow-y: auto; /* Allow scroll if form is tall on mobile */
}

.auth-form-container {
    width: 100%;
    max-width: 400px;
}

.brand-logo {
    font-weight: bold;
    font-size: 1.5rem;
    color: #000066; /* Dark Blue */
    margin-bottom: 2rem;
    display: block;
}

.form-control {
    background-color: #f0f4f8;
    border: none;
    height: 50px;
    padding-left: 15px;
    border-radius: 8px;
}

.form-control:focus {
    background-color: #e8ecf1;
    box-shadow: 0 0 0 2px #0099ff; /* Bright Blue glow */
}

.btn-brand {
    background-color: #000066; /* Dark Blue Button as per contrast */
    color: white;
    height: 50px;
    border-radius: 25px; /* Pill shape like image */
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
}

.btn-brand:hover {
    background-color: #0099ff; /* Bright Blue on hover */
    color: white;
}

/* RIGHT SIDE (Testimonial/Banner) */
.auth-right {
    background-color: #000066; /* Your Dark Brand Color */
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem;
    position: relative;
    /* Optional: Add a subtle background pattern or gradient */
    background: linear-gradient(135deg, #000066 0%, #000044 100%);
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #0099ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    margin-right: 10px;
}

.auth-footer-icons {
    margin-top: 3rem;
    font-size: 0.8rem;
    opacity: 0.7;
}

.auth-footer-icons i {
    margin-right: 5px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .auth-container {
        height: auto;
        overflow: auto;
    }
    .auth-right {
        padding: 3rem 1.5rem;
        order: -1; /* Puts the banner on top on mobile */
    }
    .hero-title {
        font-size: 2rem;
    }
}:root {
    --primary-brand: #000066; /* Dark Blue */
    --accent-brand: #0099ff;  /* Light Blue */
    --bg-light: #f8f9fa;
    --text-muted: #b3cbb9;
    --sidebar-width: 260px;
}

body {
    background-color: var(--bg-light);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

/* --- SIDEBAR STYLES --- */
.sidebar {
    width: var(--sidebar-width);
    background-color: var(--primary-brand);
    min-height: 100vh;
    color: #fff;
    position: fixed;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    z-index: 1050;
    transition: all 0.3s ease;
}

.sidebar-brand {
    padding: 20px 25px;
    font-size: 22px;
    font-weight: bold;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.sidebar-brand span {
    color: var(--accent-brand);
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    flex-grow: 1;
}

.sidebar-menu li {
    margin-bottom: 5px;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    padding: 12px 25px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s;
    border-left: 4px solid transparent;
}

.sidebar-menu a:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

.sidebar-menu a.active {
    background-color: #f8f9fa;
    color: var(--primary-brand);
    border-left: 4px solid var(--accent-brand);
    font-weight: 600;
    border-radius: 30px 0 0 30px;
    margin-left: 10px;
}

.sidebar-menu i {
    margin-right: 15px;
    font-size: 18px;
    width: 20px;
    text-align: center;
}

/* --- MAIN CONTENT STYLES --- */
.main-content {
    margin-left: var(--sidebar-width);
    padding: 0;
    transition: all 0.3s ease;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Top Header */
.top-header {
    background: #fff;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between; /* Changed for mobile toggle */
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    position: sticky;
    top: 0;
    z-index: 1040;
}

.mobile-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-brand);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto; /* Push to right */
}

.user-avatar-circle {
    width: 40px;
    height: 40px;
    background-color: #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--primary-brand);
}

/* Dashboard Content */
.dashboard-container {
    padding: 30px;
}

.welcome-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    flex-wrap: wrap; /* Allow wrapping on mobile */
    gap: 15px;
}

.btn-brand {
    background-color: var(--primary-brand);
    color: white;
}
.btn-brand:hover {
    background-color: #00004d;
    color: white;
}

/* Stats Cards */
.stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    height: 100%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    position: relative;
    border: 1px solid #eee;
}

.stat-card-title {
    color: #6c757d;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    font-weight: 600;
}

.stat-card-value {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.stat-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #e6f2ff; /* Light blue tint */
    color: var(--accent-brand);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-footer-text {
    font-size: 0.85rem;
    color: var(--accent-brand);
}

/* Table Styles */
.custom-table-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-top: 25px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.table thead th {
    border-bottom: 2px solid #f3f4f6;
    color: #6b7280;
    font-weight: 600;
    font-size: 0.9rem;
}

.status-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}
.status-registered { background-color: #e6f2ff; color: var(--primary-brand); border: 1px solid #b3d9ff; }
.status-pending { background-color: #fff7ed; color: #9a3412; border: 1px solid #ffedd5; }

/* Overlay for Mobile */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1045;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 991px) {
    .sidebar {
        left: -260px; /* Hide sidebar */
    }
    
    .sidebar.show {
        left: 0; /* Show when active */
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .sidebar-overlay.show {
        display: block;
    }
}

/* --- TOAST NOTIFICATIONS (Top Right) --- */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    min-width: 300px;
    max-width: 400px;
}

.alert-floating {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-left: 5px solid;
    animation: slideInRight 0.5s ease-out forwards;
    opacity: 0; /* Start hidden for animation */
}

.alert-floating.show {
    opacity: 1;
}

.alert-success { border-color: #198754; }
.alert-danger { border-color: #dc3545; }

/* Slide In Animation */
@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
