:root {
    --primary-color: #11325b; /* Dark navy from logo */
    --secondary-color: #0d5ca7; /* Medium blue */
    --accent-color: #8cb8df; /* Light blue */
    --bg-color: #f4f7fb;
    --text-main: #333333;
    --schoolis-font: 'Arial Narrow', Arial, sans-serif;
}

html,
body {
    font-family: var(--schoolis-font);
    background-color: var(--bg-color);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Glassmorphism Classes */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 30px rgba(17, 50, 91, 0.08);
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-panel:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(17, 50, 91, 0.12);
}

.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-color) 0%, #e2ebf4 100%);
    position: relative;
    overflow: hidden;
}

/* Background Animated Blobs */
.auth-wrapper::before, .auth-wrapper::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
}

.auth-wrapper::before {
    background: rgba(13, 92, 167, 0.2);
    top: -100px;
    left: -100px;
}

.auth-wrapper::after {
    background: rgba(140, 184, 223, 0.3);
    bottom: -150px;
    right: -100px;
}

.auth-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 450px;
    padding: 3rem;
    text-align: center;
}

.auth-card img.logo {
    max-width: 180px;
    margin-bottom: 2rem;
}

/* Custom Buttons */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-primary-custom:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(13, 92, 167, 0.3);
    color: white;
}

/* Custom Inputs */
.form-control-custom {
    border-radius: 8px;
    padding: 12px 16px;
    border: 1px solid #dce4ec;
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.form-control-custom:focus {
    box-shadow: 0 0 0 4px rgba(13, 92, 167, 0.1);
    border-color: var(--secondary-color);
    background: #fff;
}

/* Police globale — Arial Narrow (hors icônes Bootstrap) */
h1, h2, h3, h4, h5, h6,
p, label, a, li, td, th, small, strong,
input, textarea, select, button, optgroup, option,
.form-control, .form-select, .form-label, .form-check-label,
.btn, .navbar, .navbar-brand, .nav-link, .dropdown-menu, .dropdown-item,
.table, .modal-content, .modal-title, .card, .card-title, .card-text,
.alert, .badge, .list-group-item, .nav-pills .nav-link,
.page-link, .pagination, .breadcrumb, .toast, .toast-body,
.dataTables_wrapper, .dataTables_info, .dataTables_length,
.dataTables_filter, .dataTables_paginate {
    font-family: var(--schoolis-font);
}

.bi,
[class^="bi-"],
[class*=" bi-"] {
    font-family: bootstrap-icons !important;
}
