/* =============================================
   School Trip Platform - Main Stylesheet
   ============================================= */

:root {
    --primary: #4A9BD9;
    --primary-dark: #3A7BB8;
    --primary-light: #7BBCE8;
    --primary-bg: #EDF5FC;
    --secondary: #E8A83E;
    --secondary-dark: #D49530;
    --secondary-light: #F0C06A;
    --secondary-bg: #FDF5E6;
    --accent: #8BC540;
    --accent-dark: #6FA832;
    --accent-light: #A8D76A;
    --accent-bg: #F2F9E8;
    --navy: #2C5F7C;
    --navy-dark: #1E4358;
    --navy-light: #3D7A9E;
    --dark: #1E293B;
    --gray-900: #334155;
    --gray-700: #475569;
    --gray-500: #64748B;
    --gray-400: #94A3B8;
    --gray-300: #CBD5E1;
    --gray-200: #E2E8F0;
    --gray-100: #F1F5F9;
    --gray-50: #F8FAFC;
    --white: #FFFFFF;
    --danger: #EF4444;
    --success: #22C55E;
    --warning: #F59E0B;
    --info: #3B82F6;
    --sidebar-width: 280px;
    --topbar-height: 65px;
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --border-radius-lg: 16px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

/* =============================================
   General & Typography
   ============================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--gray-50);
    color: var(--dark);
    font-size: 15px;
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: var(--navy);
    line-height: 1.4;
}

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

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

img {
    max-width: 100%;
}

/* =============================================
   Scrollbar
   ============================================= */

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-400);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-500);
}

/* =============================================
   Buttons
   ============================================= */

.btn {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    padding: 10px 24px;
    transition: var(--transition);
    border: none;
    font-size: 14px;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(74, 155, 217, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 6px 16px rgba(74, 155, 217, 0.4);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(232, 168, 62, 0.3);
}

.btn-secondary:hover {
    background: var(--secondary-dark);
    transform: translateY(-1px);
}

.btn-accent {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(139, 197, 64, 0.3);
}

.btn-accent:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
}

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

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

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

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

.btn-sm {
    padding: 6px 16px;
    font-size: 13px;
}

.btn-lg {
    padding: 14px 36px;
    font-size: 16px;
}

.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* =============================================
   Cards
   ============================================= */

.card {
    background: var(--white);
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
}

.card:hover {
    box-shadow: var(--shadow);
}

.card-header {
    background: transparent;
    border-bottom: 1px solid var(--gray-200);
    padding: 20px 24px;
    font-weight: 700;
}

.card-body {
    padding: 24px;
}

/* =============================================
   Public Navbar
   ============================================= */

.public-navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    padding: 12px 0;
    z-index: 1030;
}

.public-navbar .navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 20px;
    color: var(--navy);
}

.public-navbar .navbar-brand img {
    height: 45px;
}

.public-navbar .nav-link {
    color: var(--gray-700);
    font-weight: 600;
    padding: 8px 16px !important;
    border-radius: var(--border-radius-sm);
    font-size: 15px;
}

.public-navbar .nav-link:hover,
.public-navbar .nav-link.active {
    color: var(--primary);
    background: var(--primary-bg);
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* =============================================
   Hero Section
   ============================================= */

.hero-section {
    background: linear-gradient(135deg, var(--navy) 0%, var(--primary) 50%, var(--primary-light) 100%);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 80px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80'%3E%3Cpath fill='%23F8FAFC' d='M0,64L60,58.7C120,53,240,43,360,48C480,53,600,75,720,74.7C840,75,960,53,1080,42.7C1200,32,1320,32,1380,32L1440,32L1440,80L1380,80C1320,80,1200,80,1080,80C960,80,840,80,720,80C600,80,480,80,360,80C240,80,120,80,60,80L0,80Z'%3E%3C/path%3E%3C/svg%3E") no-repeat bottom center;
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-content h1 span {
    color: var(--secondary);
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 35px;
    max-width: 550px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-actions .btn {
    padding: 14px 36px;
    font-size: 16px;
    border-radius: var(--border-radius);
}

.hero-actions .btn-light {
    background: var(--white);
    color: var(--primary);
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.hero-actions .btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.hero-actions .btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: var(--white);
}

.hero-actions .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--white);
}

.hero-image {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-image img {
    max-height: 400px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
    animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 50px;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--secondary);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-top: 4px;
}

/* =============================================
   Features Section
   ============================================= */

.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

.section-badge {
    display: inline-block;
    background: var(--primary-bg);
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
    padding: 6px 20px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.feature-card {
    text-align: center;
    padding: 40px 28px;
    border-radius: var(--border-radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--gray-200);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
}

.feature-icon.blue {
    background: var(--primary-bg);
    color: var(--primary);
}

.feature-icon.orange {
    background: var(--secondary-bg);
    color: var(--secondary);
}

.feature-icon.green {
    background: var(--accent-bg);
    color: var(--accent);
}

.feature-icon.navy {
    background: rgba(44, 95, 124, 0.1);
    color: var(--navy);
}

.feature-card h5 {
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 1.15rem;
}

.feature-card p {
    color: var(--gray-500);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* =============================================
   About Section
   ============================================= */

.about-section {
    background: linear-gradient(135deg, var(--primary-bg) 0%, var(--white) 100%);
}

.about-img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-list {
    list-style: none;
    padding: 0;
}

.about-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1rem;
}

.about-list li i {
    color: var(--accent);
    font-size: 18px;
    margin-top: 4px;
    flex-shrink: 0;
}

/* =============================================
   User Roles Section
   ============================================= */

.role-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: var(--border-radius-lg);
    background: var(--white);
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.role-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    transition: var(--transition);
}

.role-card.admin::before {
    background: var(--primary);
}

.role-card.parent::before {
    background: var(--secondary);
}

.role-card.student::before {
    background: var(--accent);
}

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

.role-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 36px;
}

.role-card.admin .role-icon {
    background: var(--primary-bg);
    color: var(--primary);
}

.role-card.parent .role-icon {
    background: var(--secondary-bg);
    color: var(--secondary);
}

.role-card.student .role-icon {
    background: var(--accent-bg);
    color: var(--accent);
}

.role-card h5 {
    font-weight: 700;
    margin-bottom: 16px;
}

.role-features {
    list-style: none;
    padding: 0;
    text-align: left;
}

.role-features li {
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 14px;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    gap: 8px;
}

.role-features li i {
    color: var(--accent);
    font-size: 12px;
}

/* =============================================
   Contact Section
   ============================================= */

.contact-section {
    background: var(--navy);
    color: var(--white);
}

.contact-section h2 {
    color: var(--white);
}

.contact-section .section-badge {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.contact-info-card {
    text-align: center;
    padding: 30px;
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.contact-info-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
}

.contact-info-card i {
    font-size: 32px;
    color: var(--secondary);
    margin-bottom: 16px;
}

.contact-info-card h6 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-info-card p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

/* =============================================
   Footer
   ============================================= */

.public-footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-brand h5 {
    color: var(--white);
    margin-bottom: 0;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.8;
}

.footer-title {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 16px;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    transition: var(--transition);
}

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

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 10px;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.footer-contact li i {
    color: var(--secondary);
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 16px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 30px 0 20px;
}

.footer-bottom {
    text-align: center;
    font-size: 13px;
}

/* =============================================
   Auth Pages (Login / Register)
   ============================================= */

.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--navy) 0%, var(--primary) 100%);
    padding: 40px 20px;
    position: relative;
}

.auth-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.auth-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 480px;
    padding: 48px 40px;
    position: relative;
    z-index: 1;
}

.auth-logo {
    text-align: center;
    margin-bottom: 32px;
}

.auth-logo img {
    height: 70px;
    margin-bottom: 12px;
}

.auth-logo h4 {
    font-weight: 800;
    color: var(--navy);
}

.auth-logo p {
    color: var(--gray-500);
    font-size: 14px;
}

/* =============================================
   Forms
   ============================================= */

.form-label {
    font-weight: 600;
    color: var(--gray-700);
    font-size: 14px;
    margin-bottom: 6px;
}

.form-control,
.form-select {
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius-sm);
    padding: 10px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    transition: var(--transition);
    background-color: var(--gray-50);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(74, 155, 217, 0.1);
    background-color: var(--white);
}

.form-control::placeholder {
    color: var(--gray-400);
}

.input-group-text {
    background: var(--gray-100);
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius-sm);
    color: var(--gray-500);
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* =============================================
   Sidebar
   ============================================= */

.app-wrapper {
    display: flex;
    min-height: 100vh;
}

.app-sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: linear-gradient(180deg, var(--navy-dark) 0%, var(--navy) 100%);
    z-index: 1040;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    overflow-y: auto;
}

.sidebar-header {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.sidebar-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.sidebar-brand-text {
    color: var(--white);
    font-weight: 700;
    font-size: 16px;
}

.sidebar-close-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 20px;
    cursor: pointer;
}

.sidebar-user {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-user-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 24px;
    flex-shrink: 0;
}

.sidebar-user-info h6 {
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 2px;
}

.sidebar-user-info small {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}

.sidebar-nav {
    flex: 1;
    padding: 16px 0;
}

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

.sidebar-menu-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    text-decoration: none;
    border-left: 3px solid transparent;
}

.sidebar-menu-item a:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
}

.sidebar-menu-item.active a {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-left-color: var(--secondary);
    font-weight: 700;
}

.sidebar-menu-item a i {
    width: 22px;
    text-align: center;
    font-size: 16px;
}

.sidebar-footer {
    padding: 16px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-footer-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
}

.sidebar-footer-link:hover {
    color: var(--danger);
}

/* =============================================
   Main Content Area
   ============================================= */

.app-main {
    flex: 1;
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* =============================================
   Top Bar
   ============================================= */

.app-topbar {
    height: var(--topbar-height);
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    position: sticky;
    top: 0;
    z-index: 1020;
    box-shadow: var(--shadow-sm);
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.topbar-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    color: var(--gray-700);
    cursor: pointer;
}

.topbar-title {
    font-weight: 700;
    color: var(--navy);
    font-size: 18px;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.topbar-icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: var(--gray-100);
    color: var(--gray-700);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.topbar-icon-btn::after {
    display: none;
}

.topbar-icon-btn:hover {
    background: var(--primary-bg);
    color: var(--primary);
}

.notification-badge {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--danger);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.topbar-user-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: var(--gray-700);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.topbar-user-btn::after {
    display: none;
}

.topbar-user-btn:hover {
    background: var(--gray-100);
}

.topbar-user-btn i {
    font-size: 28px;
    color: var(--primary);
}

/* =============================================
   Notification Dropdown
   ============================================= */

.notification-dropdown {
    width: 360px;
    padding: 0;
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius);
}

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

.notification-header h6 {
    margin: 0;
    font-weight: 700;
}

.mark-read-btn {
    font-size: 12px;
    color: var(--primary);
}

.notification-list {
    max-height: 320px;
    overflow-y: auto;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 20px;
    text-decoration: none;
    color: var(--dark);
    border-bottom: 1px solid var(--gray-100);
    transition: var(--transition);
}

.notification-item:hover {
    background: var(--gray-50);
    color: var(--dark);
}

.notification-item.unread {
    background: var(--primary-bg);
}

.notification-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    color: var(--white);
}

.notification-icon.bg-info {
    background: var(--info);
}

.notification-icon.bg-success {
    background: var(--success);
}

.notification-icon.bg-warning {
    background: var(--warning);
}

.notification-icon.bg-danger {
    background: var(--danger);
}

.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-title {
    font-size: 13px;
    margin-bottom: 2px;
    font-weight: 500;
    line-height: 1.5;
}

.notification-time {
    font-size: 11px;
    color: var(--gray-400);
}

.notification-empty {
    padding: 30px;
    text-align: center;
    color: var(--gray-400);
}

.notification-empty i {
    font-size: 32px;
    margin-bottom: 8px;
    display: block;
}

/* =============================================
   Page Content
   ============================================= */

.app-content {
    padding: 24px;
    flex: 1;
}

/* =============================================
   Dashboard Stats Cards
   ============================================= */

.stat-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: transparent;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.stat-icon.blue {
    background: var(--primary-bg);
    color: var(--primary);
}

.stat-icon.orange {
    background: var(--secondary-bg);
    color: var(--secondary);
}

.stat-icon.green {
    background: var(--accent-bg);
    color: var(--accent);
}

.stat-icon.navy {
    background: rgba(44, 95, 124, 0.1);
    color: var(--navy);
}

.stat-icon.red {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.stat-info h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 2px;
    color: var(--dark);
}

.stat-info p {
    color: var(--gray-500);
    font-size: 13px;
    margin-bottom: 0;
    font-weight: 500;
}

/* =============================================
   Trip Cards
   ============================================= */

.trip-card {
    border-radius: var(--border-radius);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--gray-200);
}

.trip-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.trip-card-image {
    height: 180px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--navy) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.trip-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trip-card-image .trip-icon {
    font-size: 48px;
    color: rgba(255, 255, 255, 0.3);
}

.trip-card-status {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
}

.trip-status-form {
    margin: 0;
}

.trip-status-select {
    appearance: none;
    -webkit-appearance: none;
    border: none;
    padding: 5px 28px 5px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    outline: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.trip-status-select:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.trip-status-select.status-upcoming {
    background-color: var(--info);
    color: var(--white);
}

.trip-status-select.status-ongoing {
    background-color: var(--secondary);
    color: var(--white);
}

.trip-status-select.status-completed {
    background-color: var(--success);
    color: var(--white);
}

.trip-status-select.status-cancelled {
    background-color: var(--danger);
    color: var(--white);
}

.trip-status-select option {
    background: var(--white);
    color: var(--dark);
    font-weight: 600;
}

.trip-card-price {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: var(--secondary);
    color: var(--white);
    padding: 4px 14px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
}

.trip-card-body {
    padding: 20px;
}

.trip-card-body h5 {
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.trip-card-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.trip-card-info span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--gray-500);
}

.trip-card-info span i {
    width: 16px;
    text-align: center;
    color: var(--primary);
}

.trip-card-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--gray-100);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.trip-seats {
    font-size: 13px;
    color: var(--gray-500);
}

.trip-seats strong {
    color: var(--accent);
}

/* =============================================
   Tables
   ============================================= */

.table-container {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.table {
    margin-bottom: 0;
    font-size: 14px;
}

.table thead th {
    background: var(--gray-50);
    border-bottom: 2px solid var(--gray-200);
    font-weight: 700;
    color: var(--navy);
    padding: 14px 16px;
    white-space: nowrap;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table tbody td {
    padding: 14px 16px;
    vertical-align: middle;
    border-bottom: 1px solid var(--gray-100);
    color: var(--gray-700);
}

.table tbody tr:hover {
    background: var(--gray-50);
}

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

/* =============================================
   Badges
   ============================================= */

.badge {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 12px;
}

/* =============================================
   Charts
   ============================================= */

.chart-container {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    padding: 24px;
    border: 1px solid var(--gray-200);
}

.chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.chart-header h6 {
    font-weight: 700;
    margin-bottom: 0;
}

/* =============================================
   Photo Gallery
   ============================================= */

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.photo-item {
    position: relative;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.photo-item:hover img {
    transform: scale(1.05);
}

.photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 16px;
}

.photo-item:hover .photo-overlay {
    opacity: 1;
}

.photo-caption {
    color: var(--white);
    font-size: 13px;
}

/* =============================================
   Rating Stars
   ============================================= */

.star-rating {
    display: flex;
    gap: 4px;
    direction: ltr;
}

.star-rating i {
    font-size: 20px;
    color: var(--gray-300);
    cursor: pointer;
    transition: var(--transition);
}

.star-rating i.active,
.star-rating i:hover {
    color: var(--secondary);
}

.star-display {
    display: flex;
    gap: 2px;
    direction: ltr;
}

.star-display i {
    font-size: 14px;
    color: var(--gray-300);
}

.star-display i.active {
    color: var(--secondary);
}

/* =============================================
   Empty State
   ============================================= */

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray-400);
}

.empty-state i {
    font-size: 64px;
    margin-bottom: 20px;
    color: var(--gray-300);
}

.empty-state h5 {
    color: var(--gray-500);
    margin-bottom: 8px;
}

.empty-state p {
    font-size: 14px;
    margin-bottom: 20px;
}

/* =============================================
   Alerts & Toasts
   ============================================= */

.alert {
    border: none;
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    font-weight: 500;
}

/* =============================================
   Modal Enhancements
   ============================================= */

.modal-content {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.modal-header {
    border-bottom: 1px solid var(--gray-200);
    padding: 20px 24px;
}

.modal-header .modal-title {
    font-weight: 700;
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    border-top: 1px solid var(--gray-200);
    padding: 16px 24px;
}

/* =============================================
   Supply Checklist
   ============================================= */

.supply-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--border-radius-sm);
    background: var(--gray-50);
    margin-bottom: 8px;
    transition: var(--transition);
}

.supply-item:hover {
    background: var(--gray-100);
}

.supply-item.packed {
    background: var(--accent-bg);
}

.supply-item.packed .supply-name {
    text-decoration: line-through;
    color: var(--gray-400);
}

.supply-name {
    flex: 1;
    font-size: 14px;
}

/* =============================================
   Page Header
   ============================================= */

.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.page-header h4 {
    font-weight: 700;
    margin-bottom: 0;
}

.page-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* =============================================
   Filter Bar
   ============================================= */

.filter-bar {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 16px 20px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    border: 1px solid var(--gray-200);
}

.filter-bar .form-control,
.filter-bar .form-select {
    max-width: 200px;
    font-size: 13px;
    padding: 8px 14px;
}

/* =============================================
   Responsive Design
   ============================================= */

@media (max-width: 991.98px) {
    .app-sidebar {
        transform: translateX(-100%);
    }

    .app-sidebar.show {
        transform: translateX(0);
    }

    .app-main {
        margin-left: 0;
    }

    .topbar-toggle {
        display: block;
    }

    .sidebar-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1035;
        display: none;
    }

    .sidebar-overlay.show {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-stats {
        gap: 24px;
    }

    .hero-stat-number {
        font-size: 1.8rem;
    }

    .notification-dropdown {
        width: 300px;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 60px 0 50px;
        min-height: auto;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 16px;
    }

    .hero-image {
        margin-top: 40px;
    }

    .section {
        padding: 50px 0;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .app-content {
        padding: 16px;
    }

    .stat-card {
        padding: 16px;
    }

    .stat-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .stat-info h3 {
        font-size: 1.4rem;
    }

    .filter-bar .form-control,
    .filter-bar .form-select {
        max-width: 100%;
    }

    .page-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* =============================================
   Utilities
   ============================================= */

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

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

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

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

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

.bg-secondary-light {
    background: var(--secondary-bg) !important;
}

.bg-accent-light {
    background: var(--accent-bg) !important;
}

.border-primary {
    border-color: var(--primary) !important;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-up {
    animation: slideUp 0.6s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Print Styles */
@media print {

    .app-sidebar,
    .app-topbar,
    .page-actions,
    .filter-bar {
        display: none !important;
    }

    .app-main {
        margin: 0 !important;
    }
}

/* =============================================
   Profile Page
   ============================================= */

.card.profile-card {
    border: none !important;
    border-radius: var(--border-radius-lg) !important;
    overflow: hidden !important;
    box-shadow: var(--shadow-md) !important;
    padding: 0 !important;
}

.card.profile-card>.profile-card-header {
    background: linear-gradient(135deg, var(--navy) 0%, var(--primary) 100%) !important;
    padding: 44px 24px 40px !important;
    text-align: center !important;
    position: relative !important;
    border: none !important;
}

.card.profile-card>.profile-card-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 30px;
    background: var(--white);
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.profile-avatar-wrapper {
    position: relative;
    z-index: 2;
    width: 110px !important;
    height: 110px !important;
    margin: 0 auto 16px !important;
    border-radius: 50% !important;
    border: 4px solid rgba(255, 255, 255, 0.35) !important;
    overflow: hidden !important;
    background: rgba(255, 255, 255, 0.15) !important;
    display: block !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.profile-avatar-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.profile-avatar-placeholder {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 48px !important;
    color: rgba(255, 255, 255, 0.8) !important;
    background: transparent !important;
}

.profile-name {
    color: var(--white) !important;
    font-weight: 700 !important;
    font-size: 1.35rem !important;
    margin-bottom: 10px !important;
    position: relative !important;
    z-index: 2 !important;
}

.profile-role-badge {
    display: inline-block !important;
    padding: 5px 20px !important;
    border-radius: 50px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    position: relative !important;
    z-index: 2 !important;
    letter-spacing: 0.5px;
}

.profile-role-badge.admin {
    background: rgba(255, 255, 255, 0.18) !important;
    color: var(--white) !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
}

.profile-role-badge.parent {
    background: rgba(232, 168, 62, 0.3) !important;
    color: var(--white) !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
}

.profile-role-badge.student {
    background: rgba(139, 197, 64, 0.3) !important;
    color: var(--white) !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
}

.card.profile-card>.profile-card-body {
    padding: 20px 24px 24px !important;
}

.profile-info-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 14px 0 !important;
    border-bottom: 1px solid var(--gray-100) !important;
}

.profile-info-item:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.profile-info-item>i {
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    border-radius: var(--border-radius-sm) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: var(--primary-bg) !important;
    color: var(--primary) !important;
    font-size: 16px !important;
    flex-shrink: 0 !important;
}

.profile-info-item>div {
    flex: 1;
    min-width: 0;
}

.profile-info-item>div small {
    display: block !important;
    color: var(--gray-400) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    margin-bottom: 2px !important;
    line-height: 1.3 !important;
}

.profile-info-item>div p {
    margin: 0 !important;
    color: var(--dark) !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    word-break: break-word;
}

@media (max-width: 991.98px) {
    .card.profile-card>.profile-card-header {
        padding: 30px 20px 34px !important;
    }

    .profile-avatar-wrapper {
        width: 90px !important;
        height: 90px !important;
    }

    .profile-avatar-placeholder {
        font-size: 36px !important;
    }
}