/* * EBUYIN - Estilos Base del Login (Basado en SB Admin)
 */

html, body {
    height: 100%;
}

body {
    background-color: #212529 !important; /* Fondo oscuro */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-login {
    max-width: 400px;
    width: 100%;
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    padding: 20px;
    border-top-left-radius: 0.5rem !important;
    border-top-right-radius: 0.5rem !important;
}

.card-body {
    padding: 30px;
    background-color: #ffffff;
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
    display: block;
}

.form-control {
    display: block;
    width: 100%;
    height: calc(2.25rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn-primary {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
    padding: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #0069d9;
    border-color: #0062cc;
}

.btn-block {
    display: block;
    width: 100%;
}

/* --- ESTILOS ESPECÍFICOS DE LA HUELLA --- */

.huella-container {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
    background: #fdfdfd;
}

@keyframes latido {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 0.8; }
}

.huella-activa {
    color: #28a745; /* Verde */
    font-size: 50px;
    animation: latido 2s infinite;
    cursor: pointer;
}

.huella-espera {
    color: #ffc107; /* Amarillo */
    font-size: 50px;
}

.huella-error {
    color: #dc3545; /* Rojo */
    font-size: 50px;
}

.text-muted {
    color: #6c757d !important;
}

.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }