/* --- FleetMan Custom Red Theme Overrides (Softened) --- */
.sb-topnav {
    background-color: #a31515 !important;
    /* softer dark red */
    box-shadow: 0 2px 8px rgba(163, 21, 21, 0.08);
}

.sb-sidenav-dark {
    background-color: #c62828 !important;
    /* softer sidebar red */
    color: rgba(255, 255, 255, 0.92) !important;
    border-top-right-radius: 18px;
    transition: background 0.3s;
}

.sb-sidenav-dark .sb-sidenav-menu .nav-link {
    color: rgba(255, 255, 255, 0.92) !important;
    border-radius: 8px;
    margin: 0 8px 4px 8px;
    transition: background 0.2s, color 0.2s;
}

.sb-sidenav-dark .sb-sidenav-menu .nav-link .sb-nav-link-icon {
    color: #fff !important;
}

.sb-sidenav-dark .sb-sidenav-menu .nav-link:hover,
.sb-sidenav-dark .sb-sidenav-menu .nav-link.active {
    background: rgba(255, 255, 255, 0.10) !important;
    color: #fff !important;
}

.sb-topnav .navbar-brand {
    color: #fff !important;
    font-weight: bold;
    letter-spacing: 1px;
}

.sb-topnav .navbar-nav .nav-link {
    color: #fff !important;
}

.sb-topnav .navbar-nav .nav-link:hover {
    color: #ffd6d6 !important;
}

/* Sidebar footer matches topbar */
.sb-sidenav-dark .sb-sidenav-footer {
    background: #a31515 !important;
    color: #fff !important;
    border-bottom-right-radius: 12px;
    border-bottom-left-radius: 12px;
    box-shadow: 0 -2px 8px rgba(163, 21, 21, 0.08);
}

/* Optional: subtle border for separation */
.sb-topnav,
.sb-sidenav-dark {
    border-bottom-left-radius: 12px;
}

/* --- Light Red Background for Main Content --- */
.light-red-color {
    background-color: #fff5f5 !important;
}

/* --- Beautify Guest (Auth) Pages --- */
.guest-auth-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: #fff5f5 !important;
    animation: fadeIn 0.7s;
}

.guest-auth-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
}

.guest-auth-logo img {
    width: 72px;
    height: 72px;
    margin-bottom: 0.5rem;
}

.guest-auth-logo h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #a31515;
    margin-bottom: 0;
}

.guest-auth-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 32px rgba(163, 21, 21, 0.07), 0 1.5px 4px rgba(0, 0, 0, 0.03);
    padding: 2.5rem 2rem 2rem 2rem;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    margin-bottom: 2rem;
    transition: box-shadow 0.2s;
}

.guest-auth-card label {
    font-weight: 500;
}

.guest-auth-card input[type="email"],
.guest-auth-card input[type="password"],
.guest-auth-card input[type="text"] {
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    font-size: 1rem;
}

.guest-auth-card button[type="submit"] {
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.7rem 0;
    margin-top: 0.5rem;
    width: 100%;
    display: block;
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.08);
    transition: background 0.2s, box-shadow 0.2s;
}

.guest-auth-card button[type="submit"]:hover {
    background: #1565c0;
    box-shadow: 0 4px 16px rgba(33, 150, 243, 0.13);
}

.guest-auth-card .form-check-label {
    font-size: 0.98rem;
}

.guest-auth-card .form-text,
.guest-auth-card .form-link {
    font-size: 0.97rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}