/* =============================================
   VARIABLES Y BASE
   ============================================= */
:root {
    --bg-color: #1a2a44;       /* Azul profundo de fondo */
    --card-bg: rgba(34, 115, 182, 0.9); /* Azul Atenea con transparencia */
    --accent: #140c7e;         /* Turquesa de realce */
    --success: #2ecc71;        /* Verde acción */
    --danger: #e74c3c;         /* Rojo zona de peligro */
    --text: #ffffff;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

body { 
    background: var(--bg-color); 
    background-attachment: fixed;
    color: var(--text); 
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; 
    display: flex; 
    justify-content: center; 
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
}

/* =============================================
   CONTENEDOR PRINCIPAL (Glassmorphism)
   ============================================= */
.container { 
    background: var(--card-bg); 
    backdrop-filter: blur(10px); /* Efecto de desenfoque detrás */
    border: 1px solid rgba(255, 255, 255, 0.1); 
    border-radius: 24px; 
    padding: 35px; 
    width: 100%; 
    max-width: 550px; 
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

h2 { 
    color: var(--text); 
    text-align: center; 
    margin-bottom: 30px; 
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =============================================
   INPUTS Y BÚSQUEDA
   ============================================= */
input[type="text"] { 
    width: 100%; 
    padding: 15px; 
    margin: 12px 0; 
    border-radius: 12px; 
    border: 2px solid rgba(250, 248, 248, 0.932); 
    background: rgba(0, 0, 0, 0.3); 
    color: white; 
    font-size: 1.1rem; 
    box-sizing: border-box;
    transition: 0.3s;
}

input[type="text"]:focus {
    border-color: var(--accent);
    outline: none;
    background: rgba(0, 0, 0, 0.5);
}

.item-busqueda { 
    background: rgba(26, 26, 26, 0.6); 
    padding: 18px; 
    border-radius: 12px; 
    margin-bottom: 10px; 
    cursor: pointer; 
    border: 1px solid rgba(255,255,255,0.05); 
    transition: all 0.3s ease; 
}

.item-busqueda:hover { 
    background: #293375; 
    border-color: var(--accent);
    transform: translateX(5px);
}

/* =============================================
   BOTONES Y ACCIONES
   ============================================= */
.btn-main {
    padding: 16px 24px;
    border: none;
    border-radius: 12px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
}

.btn-firmar { 
    
    background: var(--success); 
    color: white; 
    width: 100%;
    padding: 10px 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(10, 20, 20, 0.4);
}

.btn-firmar:hover { 
    background: #d43317; 
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(10, 10, 10, 0.4);
}

.btn-export {
    background: #293375;
    color: white;
    border: 1px solid var(--accent);
    margin-bottom: 20px;
}

/* =============================================
   ZONA DE PELIGRO (Reset)
   ============================================= */
.danger-zone {
    margin-top: 40px;
    padding: 20px;
    border: 1px dashed rgba(12, 12, 12, 0.5);
    border-radius: 16px;
    background: rgba(231, 76, 60, 0.05);
    text-align: center;
}

.danger-zone p {
    color: var(--danger);
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.btn-reset {
    background: var(--danger);
    color: white;
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* =============================================
   OTROS ELEMENTOS
   ============================================= */
.pin-grande { 
    font-size: 4.5rem; 
    color: #fff; 
    background: linear-gradient(145deg, #293375, #1a2a44);
    margin: 25px 0; 
    border-radius: 20px; 
    padding: 20px; 
    font-weight: bold; 
    letter-spacing: 10px; 
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.5);
}

.cuadro-legal { 
    font-size: 20px; 
    color: #f8f8f8; 
    background: rgba(26, 21, 0, 0.6); 
    padding: 20px; 
    border-radius: 15px; 
    margin: 25px 0; 
    border-left: 6px solid #f1c40f; 
    line-height: 1.6; 
}



        