﻿/* --- wwwroot/css/login.css --- */

/* Applica lo sfondo al tag HTML e BODY per una copertura completa */
/* --- wwwroot/css/login.css --- */

/* Spostiamo tutto ciò che riguarda lo sfondo su HTML */
html {
    height: 100%;
    margin: 0;
    padding: 0;
    /* Immagine di sfondo */
    background-image: url('../img/sfondo/sfondolow2.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed; /* 'fixed' mantiene lo sfondo ancorato, 'scroll' lo fa muovere */
    background-size: cover; /* Garantisce che copra SEMPRE l'intero schermo */
    background-color: #050505; /* Colore di backup */
}

body {
    margin: 0;
    padding: 0;
    color: #fff;
    font-family: sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /* Fondamentale: deve essere trasparente per far vedere l'HTML sotto */
    background-color: transparent;
}

/* --- Il resto del tuo CSS rimane invariato --- */
.dark-panel-box {
    background-color: rgba(13, 13, 13, 0.95);
    border: 1px solid #222222;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    max-width: 700px;
    margin: 40px auto; /* Aggiunto margine verticale per distanziare il box dai bordi */
    width: 90%; /* Assicura che il box sia responsive */
}

/* ... (resto del tuo codice per .beta-box, .img-card, .btn-iw, ecc.) */

.beta-box {
    background: rgba(13, 110, 253, 0.1);
    border: 1px solid #0d6efd;
    padding: 15px;
    border-radius: 10px;
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.beta-link {
    color: #0d6efd;
    font-weight: bold;
    text-decoration: none;
}

/* Stili Schede Immagini (invariati ma puliti) */
.img-card {
    transition: transform 0.3s ease, border-color 0.3s ease;
    border-radius: 15px;
    /* MODIFICA QUI: Rimpicciolisce l'immagine rispetto al riquadro */
    width: 80%;
    height: auto;
    /* Centra l'immagine nel riquadro */
    margin: 0 auto 15px auto;
    display: block;
    border: 2px solid #222;
}

    .img-card:hover {
        transform: scale(1.03);
        border-color: #0d6efd;
    }

/* Stili Bottoni (invariati ma puliti) */
.btn-iw {
    background-color: #0d6efd;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: bold;
    width: 100%;
    text-decoration: none;
    display: block;
    text-align: center;
    transition: background-color 0.3s ease;
}

    .btn-iw:hover {
        background-color: #0b5ed7;
        color: white;
    }

.btn-iw-team {
    background-color: #198754;
}

    .btn-iw-team:hover {
        background-color: #157347;
        color: white;
    }
