:root {
    --primaryIniSec: #008080; /* Teal para S.I. LÓPEZ */
    --accentIniSec: #f39c12;  /* Naranja para botones de acción */
    --bg-light: #f4f7f6;
    --text-dark: #2c3e50;
}

body.fondoIniSec {
    background-color: var(--bg-light);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.login-wrapper {
    width: 100%;
    max-width: 450px;
    padding: 20px;
    
}

.login-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    overflow: hidden;
}

.card-header {
    background: var(--primaryIniSec);
    color: white;
    padding: 30px;
    text-align: center;
}

.card-header h2 { margin: 10px 0 5px; font-size: 1.5rem; }
.card-header p { margin: 0; opacity: 0.9; font-size: 0.9rem; }

.login-form { padding: 30px; }

/* Estilo de los grupos de entrada */
.input-group { margin-bottom: 25px; position: relative; }

.input-field {
    display: flex;
    align-items: center; /* Centrado vertical absoluto */
    border-bottom: 2px solid #ddd;
    transition: border-color 0.3s;
    position: relative;
    height: 50px;
}

.input-field i.prefix {
    color: var(--primaryIniSec);
    margin-right: 15px;
    font-size: 1.5rem;
}

.input-field input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 1rem;
    padding-top: 15px;
}

.input-field label {
    position: absolute;
    left: 40px;
    top: 15px;
    color: #999;
    transition: all 0.3s;
    pointer-events: none;
}

/* Efecto de elevación de etiqueta */
.input-field input:focus + label,
.input-field input:valid + label {
    top: -5px;
    font-size: 0.75rem;
    color: var(--primaryIniSec);
}

/* Estilo del Select */
.select-wrapper {
    display: flex;
    align-items: center;
    background: #f9f9f9;
    border-radius: 8px;
    padding: 5px 15px;
    border: 1px solid #eee;
}


.custom-select {
    border: none;
    background: transparent;
    width: 100%;
    height: 40px;
    margin-left: 10px;
    outline: none;
}

/* Checkbox Moderno */
.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    background: #f0f4f4;
    padding: 12px;
    border-radius: 8px;
}

.robot-icon { margin-left: auto; color: var(--primaryIniSec); }

/* Botones con Flexbox */
.form-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 30px;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 45px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.btn-primary { background: var(--accentIniSec); color: white; }
.btn-primary:hover { background: #d3890e; }

.btn-secondary { background: #eee; color: #666; }