﻿
input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.LoginPage {
    /* background-image: url('../images/login.png');
    background-repeat:no-repeat;
    background-size: 1200px 750px;
    background-position:center;
    width: 100%;
    height: 100vh;*/
    margin-top: 25px;
    background-image: url('../images/login.png');
    background-repeat: no-repeat;
    background-size: cover; /* Larghezza relativa, altezza auto */
    background-position: center top; /* Centro orizzontale, top verticale */
    width: 100%;
    height: 100vh;
}

.logoSid {
    width: 300px;
    height: 100px;
    position: absolute;
    left: 40%;
    top: 0px;
    background-image: url('../images/sid trasparente.png');
    background-repeat: no-repeat;
    background-size: 80% auto; /* Larghezza relativa, altezza auto */
    z-index: 10;
}

.loginForm {
    width: 58vw;
    background-image: url(../images/loginform.png);
    height: 65vh;
    background-size: 100% 100%;
    position: absolute;
    top: 16vh;
    left: 21vw;
    max-height:500px;
}

.login-form {
    /*
    position: relative;
    max-width: 400px;
    margin: 40px auto;
    padding: 20px;
    margin-top: 18%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background-color: #1a1a1a; 
    border: 2px solid #888;
    border-radius: 10px;
    font-family: 'Georgia', serif;
    color: #f0e6d2;
        */
    background-color: #1a1a1a;
    border: 2px solid #888;
    border-radius: 10px;
    font-family: 'Georgia', serif;
    color: #f0e6d2;
    padding:20px;
}

.form-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

    .form-row label {
        flex: 0 0 100px; /* larghezza fissa ma adattabile */
        text-align: right;
    }

    .form-row input[type="text"],
    input[type="password"] {
        flex: 1;
        padding: 5px 8px;
        border-radius: 4px;
        border: 1px solid #ccc;
    }

.button-row {
    justify-content: flex-end;
}

    .button-row input[type="button"] {
        padding: 6px 16px;
        font-weight: bold;
        background-color: #554433;
        color: #fff;
        border: none;
        border-radius: 4px;
        cursor: pointer;
    }

.button-row input[type="button"]:hover {
    background-color: #776655;
}
/* Stato iniziale */
.hidden {
    opacity: 0;
    transform: translateY(100px);
    transition: all 2s ease; /* ← durata aumentata */
}

/* Stato visibile con animazione */
.visible {
    opacity: 1;
    transform: translateY(0);
}
.Warning {
    color: orange;
    text-align: center;
    width: 100%;
}

