/* Reset base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.auth-container {
    background: #fff;
    padding: 40px;
    border-radius: 14px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 900px;
    text-align: center;
}

.auth-container h2 {
    margin-bottom: 25px;
    font-size: 28px;
    color: #333;
    font-weight: 700;
}

/* Label e input */
.auth-container label {
    display: block;
    text-align: left;
    font-weight: 500;
    font-size: 13pt;
    color: #444;
}

.auth-container input {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 12pt;
    transition: border 0.2s ease;
}

.auth-container input:focus {
    border-color: #8c0605;
    outline: none;
}

/* Row con più colonne */
.row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.col {
    flex: 1;
}

/* Wrap password con icona 👁 */
.password-wrap {
    position: relative;
}

.password-wrap input {
    width: 100%;
    padding-right: 40px;
}

.password-wrap .toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 16px;
}

/* Pulsante */
.auth-container button {
    width: 100%;
    padding: 15px;
    background: #8c0605;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.auth-container button:hover {
    background: #a31b1a;
}

/* Responsive */
@media (max-width: 900px) {
    .row {
        flex-direction: column;
    }
    .auth-container {
        max-width: 100%;
    }
}
