/* --- BASE --- */
body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: #f4f7f6;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.main-test-wrapper {
    background-color: #ffffff;
    max-width: 900px;
    width: 100%;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* --- HEADER --- */
.header-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.left-image, .right-image {
    max-height: 50px;
    width: auto;
}

/* --- CONTENT --- */
.home-content {
    text-align: center;
}

h1 {
    color: #0056b3;
    font-size: 2rem;
    margin-bottom: 15px;
}

.intro-text {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* --- CARDS CONTAINER --- */
.choice-container {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.choice-card {
    background: #fff;
    border: 2px solid #eee;
    border-radius: 15px;
    padding: 30px;
    width: 300px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.choice-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: #0056b3;
}

.icon {
    font-size: 4rem;
    margin-bottom: 15px;
}

.choice-card h2 {
    margin: 10px 0;
    color: #333;
    font-size: 1.4rem;
}

.choice-card p {
    font-size: 0.95rem;
    color: #777;
    flex-grow: 1;
    margin-bottom: 20px;
}

/* --- BOTTONI --- */
.btn-home {
    display: inline-block;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background 0.3s;
    width: 80%;
    text-align: center;
}

.btn-standard {
    background-color: #0056b3;
    color: white;
}

.btn-standard:hover {
    background-color: #004494;
}

.btn-timer {
    background-color: #333;
    color: white;
}

.btn-timer:hover {
    background-color: #000;
}

/* --- BOX AVVISO DSA --- */
.dsa-notice-box {
    margin: 40px auto 20px auto;
    padding: 20px;
    background-color: #fff4e5;
    border-left: 5px solid #ff9800;
    border-radius: 8px;
    text-align: left;
    max-width: 700px;
}

.dsa-notice-box p {
    margin: 0;
    font-size: 1rem;
    color: #856404;
}

.dsa-link {
    color: #e65100;
    text-decoration: underline;
    font-weight: bold;
}

/* --- FOOTER VALIDAZIONE --- */
.footer-validation {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    text-align: center;
    font-size: 0.85rem;
    color: #999;
}

.validation-links a {
    color: #999;
    text-decoration: none;
    margin: 0 5px;
}

.validation-links a:hover {
    text-decoration: underline;
    color: #666;
}

/* MOBILE */
@media (max-width: 600px) {
    .header-box { flex-direction: column; gap: 10px; }
    .choice-card { width: 100%; }
    .dsa-notice-box { text-align: center; border-left: none; border-top: 5px solid #ff9800; }
}