﻿body {
    margin: 0;
    padding: 0;
    font-family: 'Century Gothic';
}

/* Sfondo con immagine del cliente */
.login-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.75);
    z-index: -1;
}

/* Wrapper centrale */
.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Box semi-trasparente */
.login-box {
    background: rgba(255, 255, 255, 0.75);
    padding: 40px;
    border-radius: 12px;
    width: clamp(280px, 60vw, 420px);
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

/* Logo */
.login-logos {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.logo-sx, .logo-dx {
    height: 60px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 600px) {
    .logo-sx, .logo-dx {
        height: 40px;
    }
}

/* Titolo */
.login-title {
    font-size: 40px;
    margin-bottom: 20px;
    letter-spacing: 2px;
    color: #636363;
}

/* Input */
.login-input {
    width: 70%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 16px;
}

/* Pulsante */
.login-button {
    width: 75%;
    padding: 12px;
    margin-top: 15px;
    background-color: #636363;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
}

    .login-button:hover {
        background-color: #000;
    }

/* Opzioni */
.login-options input[type="checkbox"] {
    margin-right: 5px; /* o 0 se vuoi attaccarlo */
}

.login-options label {
    color: #636363;
    margin-left: 0;
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

    .login-options .forgot {
        margin-left: auto;
    }


.forgot {
    color: #636363;
    text-decoration: none;
}

    .forgot:hover {
        text-decoration: underline;
    }

/* Messaggi */
.login-msg {
    margin-top: 15px;
    color: red;
    font-size: 14px;
}
