
:root {
    --primary: #e63946;
    --secondary: #9d4545;
    --light: #f1faee;
    --dark: #1d3557;
    --accent: #f8b1bd;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

/* Glassmorphism effect */
.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Navbar styles */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    padding: 10px 0;
}
.navbar-brand img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}
.navbar-brand img:hover {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1.2rem !important;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background-color: var(--accent);
    color: var(--dark) !important;
}
.nav-link.active {
    color: var(--dark) !important;
    font-weight: 600;
}
/* Hero slider */
.carousel {
    overflow: hidden;
    margin-top: -1rem;
    margin-bottom: 2rem;
}
.carousel-item img {
    height: 360px;
    object-fit: cover;
    filter: brightness(0.8);
}
@media (max-width: 768px) {
    .carousel-item img {
        height: 350px;
    }
}
.carousel-caption {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 2rem;
    bottom: 3rem;
    left: 10%;
    right: 10%;
}

@media (max-width: 768px) {
    .carousel-caption {
        left: 5%;
        right: 5%;
        bottom: 1.5rem;
        padding: 1rem;
    }
}
/* Login card */
.card {
    border: none;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.card-header {
    background: linear-gradient(135deg, var(--primary), #c1121f);
    color: white;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 1.5rem;
}

.form-control {
    border: 1px solid #ddd;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(230, 57, 70, 0.25);
    border-color: var(--primary);
}

.btn-danger {
    background: linear-gradient(135deg, var(--primary), #c1121f);
    border: none;
    padding: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}
.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.3);
}

/* Error message styles */
.alert-danger {
    border-radius: 10px;
    border-left: 4px solid var(--primary);
    animation: fadeIn 0.3s ease;
}
.alert-danger a {
    color: #dc3545;
    text-decoration: underline;
    font-weight: 500;
}

.error-message {
    margin-bottom: 1rem;
    animation: fadeIn 0.3s ease;
}
/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade {
    animation: fadeIn 0.8s ease forwards;
}
/* Dashboard Styles */
.sidebar {
    min-height: 100vh;
    background: var(--dark);
    color: white;
}

.sidebar .nav-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.75rem 1rem;
    border-radius: 0;
    margin-bottom: 0.25rem;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.sidebar .nav-link i {
    width: 20px;
    text-align: center;
}

.card {
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
.navbar-brand img {
        height: 40px;
    }
    
    .carousel-item img {
        height: 250px;
    }
    
    .carousel-caption {
        bottom: 1rem;
        padding: 1rem;
    }
}
