/* /workspace/css/login_miggo.css */

.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* Ocupa toda la pantalla */
    
    /* Degradado moderno: Azul suave a Blanco */
    background: linear-gradient(135deg, #e0eafc 0%, #cfdef3 100%);
    
    /* Opcional: Un toque de malla/ruido para textura */
    background-attachment: fixed;
    
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.login-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

.login-card h2 {
    color: #1a73e8;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
    font-size: 28px;
}

.welcome-text {
    text-align: center;
    color: #5f6368;
    margin-bottom: 30px;
    font-size: 14px;
}

/* Estilos para los contenedores de CakePHP */
.login-card .input {
    margin-bottom: 20px;
}

.login-card .input label {
    display: block;
    margin-bottom: 8px;
    color: #3c4043;
    font-weight: 500;
    font-size: 14px;
}

.login-card .input input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #dadce0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
    box-sizing: border-box;
}

.login-card .input input:focus {
    border-color: #1a73e8;
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
    outline: none;
}

/* Botón de envío */
.login-card .submit input {
    width: 100%;
    padding: 12px;
    background-color: #1a73e8 !important;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
}

.login-card .submit input:hover {
    background-color: #1557b0 !important;
}

.login-footer {
    margin-top: 30px;
    text-align: center;
    font-size: 12px;
    color: #9aa0a6;
}

/* Reset de elementos antiguos */
.login-card fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

.login-card legend {
    display: none;
}