/* Background con mappamondo */
body {
    background: url("../images/mappa-del-mondo-concept.jpg") no-repeat center center fixed;
    background-size: cover;
    height: 100vh;
}

/* Link back to site - OPZIONE 5: Floating con Ombra */
.back-to-site {
    position: fixed;
    top: 20px;
    left: 20px;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
    z-index: 1000;
}

.back-to-site:hover {
    color: #dc3545;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

/* Container login (TUE proporzioni originali) */
.login-container {
    max-width: 400px;
    margin: auto;
    padding: 40px;
    background-color: rgba(255,255,255,0.95);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    margin-top: 8%;
}

/* Logo (TUA dimensione originale) */
.logo {
    display: block;
    margin: 0 auto 20px auto;
    max-width: 150px;
}

/* Focus sui form control */
.form-control:focus {
    box-shadow: none;
    border-color: #dc3545;
}

/* Pulsante rosso solido */
.btn-login-custom {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background: #dc3545;
    color: white;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-login-custom:hover {
    background: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

.btn-login-custom:active {
    transform: translateY(0);
}

/* Responsive mobile */
@media (max-width: 480px) {
    .back-to-site span {
        display: none;
    }
    
    .back-to-site {
        padding: 10px;
    }
    
    .login-container {
        margin-top: 15%;
        padding: 30px;
    }
}