body {
    background-color: #0b0b0b;
    color: #f1f1f1;
    overflow-x: hidden;
    font-family: "Segoe UI", Roboto, sans-serif;
}

.btn-danger {
    background-color: #d90429;
    border: none;
}

.btn-danger:hover {
    background-color: #ef233c;
}

h1, h2, h3 {
    font-weight: 600;
}

.form-control {
    background-color: white;
    border: 1px solid #333;
    color: #111;
}

.form-control:focus {
    border-color: #d90429;
    box-shadow: 0 0 0 0.2rem rgba(217,4,41,0.25);
}

/* NAVBAR */
.navbar {
    padding: 12px 0;
    background: linear-gradient(90deg, #8b0000, #b30000);
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* HOME HERO */
.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.7)),
    url("../img/pompier-slide-2-6-eBqMc.jpg") center/cover;
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
}

.flash-container {
    position: fixed;
    top: 5rem;
    right: 2rem;
    z-index: 1050;
}

.alert {
    background: #1a1a1a;
    border-left: 4px solid;
    color: #f1f1f1;
    border-color: transparent;
    border-radius: 10px;
}

.alert-danger {
    border-left-color: #d90429;
}

.alert-success {
    border-left-color: #2ecc71;
}

.alert-warning {
    border-left-color: #f1c40f;
}

.alert-info {
    border-left-color: #3498db;
}

/* HOME SPECIAL CARD LAUNCH VM */
.vm-card {
    background: linear-gradient(135deg, #1a1a1a, #0d0d0d);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(255, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.vm-message {
    min-height: 1.5rem; /* ou ajuste selon ton texte */
}

.vm-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255,0,0,0.2), transparent);
    pointer-events: none;
}

/* HOME CARD */
.dashboard-link {
    text-decoration: none;
    color: inherit;
}

.dashboard-card {
    background: #222;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 14px;
    padding: 30px 20px;
    text-align: center;
    height: 100%;
    transition: all 0.25s ease;
    position: relative;
}

.dashboard-card h5 {
    font-weight: 600;
    margin-bottom: 5px;
}

.dashboard-card p {
    font-size: 0.9rem;
    opacity: 0.6;
}

.dashboard-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 0, 0, 0.4);
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}

.dashboard-card:hover::before {
    width: 100%;
}

.dashboard-card:hover .icon-img img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.icon-img {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.icon-img img {
    max-height: 100%;
    max-width: 140px;
    object-fit: contain;
    filter: brightness(0.9) contrast(1.1);
    transition: 0.3s ease;
}

/* AUTH CARD 2FA - LOGIN - RESET PASSWORD - FORGOTTEN PASSWORD */
.auth-wrapper {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-card {
    background: linear-gradient(135deg, #1a1a1a, #0d0d0d);
    border: 1px solid rgba(255, 0, 0, 0.25);
    border-radius: 16px;
    padding: 40px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.6);
    position: relative;
    overflow: hidden;
}

.auth-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(255,0,0,0.15), transparent 60%);
    pointer-events: none;
}

.auth-card h1 {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 25px;
}

.auth-card .form-control {
    background-color: #111;
    border: 1px solid rgba(255,255,255,0.08);
    color: #fff;
    border-radius: 10px;
}

.auth-card .form-control::placeholder {
    color: rgba(255,255,255,0.7);
    opacity: 1;
}

.auth-card .form-control:focus {
    border-color: #d90429;
    box-shadow: 0 0 0 0.2rem rgba(217,4,41,0.25);
}

.auth-card a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.auth-card a:hover {
    color: #fff;
}

.auth-card .alert {
    border-radius: 10px;
    font-size: 0.9rem;
}

/* FOOTER */
.vrcc-footer {
    background: linear-gradient(180deg, #0b0b0b, #070707);
    border-top: 1px solid rgba(255, 0, 0, 0.15);
    margin-top: 60px;
}

.vrcc-footer-inner {
    padding: 20px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(6px);
}

.vrcc-footer .text-light {
    color: rgba(255,255,255,0.9) !important;
}

.vrcc-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.75rem;
    transition: all 0.25s ease;
}

/* SOCIAL NETWORK FOOTER */
.vrcc-social a:hover {
    transform: translateY(-3px);
    border-color: rgba(217,4,41,0.5);
    box-shadow: 0 10px 25px rgba(217,4,41,0.2);
    color: #fff;
}

.vrcc-social i {
    font-size: 1.1rem;
}

.vrcc-social a:hover .bi-youtube {
    color: #ff0000;
}

.vrcc-social a:hover .bi-facebook {
    color: #1877f2;
}

.vrcc-social a:hover .bi-twitter-x {
    color: #1da1f2;
}

.vrcc-social a:hover .bi-linkedin {
    color: #0a66c2;
}

.vrcc-social a:hover .bi-instagram {
    color: #e4405f;
}
