/* Stile login.css - Tema dark professionale */
*{
margin: 0;
padding: 0;
box-sizing: border-box;
scroll-behavior: smooth;
scrollbar-width: thin;
scrollbar-color: rgb(31, 30, 30) rgb(56, 56, 56);
}
body {

    background-color: #121212;
    background: #121212;
    color: #e0e0e0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
    padding: 15px;
    gap: 10px;
}

.login-container {
    background-color: #1e1e1e;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    width: 90%;
    max-width: 400px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.login-container::after {
    position: absolute;
    content: '';
    left: 0;
    top: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(135deg, #6a5acd, #8a2be2);
}

h2 {
    margin-bottom: 20px;
    color: #6c4499;
}

.login-form {
    display: flex;
    flex-direction: column;
}

label {
    text-align: left;
    margin-bottom: 5px;
    color: #b0b0b0;
}

input[type="email"],
input[type="password"] {
    padding: 12px;
    margin-bottom: 20px;
    border: none;
    border-radius: 8px;
    background-color: #2a2a2a;
    color: #f5f5f5;
}

button {
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #6a5acd, #8a2be2);
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s;
}

button:hover {
    background: linear-gradient(135deg, #8a2be2, #6a5acd);
    transform: scale(1.05);
}

.error-message {
    color: #ff6b6b;
    margin-top: 15px;
    font-weight: bold;
}

.register-link {
    margin-top: 20px;
    font-size: 0.9em;
}

.register-link a {
    color: #8a2be2;
    text-decoration: none;
}

.register-link a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 480px) {
    .login-container {
        padding: 30px 20px;
    }

    button {
        font-size: 0.9em;
    }
}
.wrapperLoggout{
position: relative;
    width: 90%;
    max-width: 400px;
    padding: 10px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: end;
    gap: 10px;
    text-align: right;
    background-color: #1e1e1e;
    overflow: hidden;
    transition: 0.7s;
}

.wrapperLoggout::after{
position: absolute;
content: '';
left: 0;
top: 0;
width: 6px;
height: 100%;
background: linear-gradient(135deg, #6a5acd, #8a2be2);
transition: 0.7s;
overflow: hidden;
font-size: 12px;
}
.wrapperLoggout:hover::after{
position: absolute;
content: 'TicketSystem Marchi snc';
color: white;
display: flex;
align-items: center;
justify-content: center;
font-size: 12px;
left: 0;
top: 0;
width: 50%;
height: 100%;
background: linear-gradient(135deg, #6a5acd, #8a2be2);
transition: 0.7s;
overflow: hidden;
white-space: nowrap; /* Impedisce il ritorno a capo */
}
.wrapperLoggout a{
    text-decoration: none;
    color: white;
    text-align: right;
}
.wrapperLoggout span{

    color: #8a2be2;

}