/* login.css - Estilos del Login UltraRace */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

main {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.add-button {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff6b00;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
}

.login {
    background: linear-gradient(145deg, #1a1a1a 0%, #121212 100%);
    border: 1px solid #2a2a2a;
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.logo {
    display: block;
    width: 120px;
    height: auto;
    margin: 0 auto 20px;
    filter: drop-shadow(0 0 15px rgba(255, 107, 0, 0.4));
}

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

.label {
    color: #cccccc;
    font-size: 14px;
    margin-bottom: 8px;
    display: block;
}

.controls {
    background: #0a0a0a;
    border: 1px solid #333;
    border-radius: 10px;
    color: #ffffff;
    padding: 12px 15px;
    font-size: 16px;
    margin-bottom: 20px;
    width: 100%;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.controls:focus {
    background: #0a0a0a;
    border-color: #ff6b00;
    color: #ffffff;
    box-shadow: 0 0 15px rgba(255, 107, 0, 0.3);
    outline: none;
}

.controls::placeholder {
    color: #666;
}

.primary-button {
    width: 100%;
    background: linear-gradient(135deg, #ff6b00 0%, #ff8c00 100%);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-top: 10px;
}

.primary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.4);
}

.primary-button:active {
    transform: translateY(-1px);
}

/* Override estilof.css conflicts */
.login {
    height: auto;
    display: block;
    place-items: unset;
}

.logo {
    width: 120px;
    height: auto;
    margin: 0 auto 20px;
    border-radius: 0;
    align-self: unset;
}

.form {
    background: transparent;
    box-shadow: none;
    width: 100%;
    border-radius: 0;
}

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