

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* ==========================================
   CONTENEDOR PRINCIPAL
   ========================================== */
.login-container {
    background: #ffffff;
    padding: 40px 35px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(160, 175, 195, 0.25);
    width: 100%;
    max-width: 410px;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

h2 {
    color: #1e293b;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 6px;
    text-align: center;
    letter-spacing: -0.5px;
}

p {
    color: #64748b;
    font-size: 14px;
    text-align: center;
    margin-bottom: 28px;
}

/* ==========================================
   CAMPOS DE ENTRADA
   ========================================== */
.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 6px;
    color: #475569;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-group input {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 15px;
    color: #334155;
    background-color: #f8fafc;
    transition: all 0.2s ease;
}

.input-group input:focus {
    outline: none;
    border-color: #3b82f6;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}

/* ==========================================
   DISEÑO DEL CAPTCHA PROFESIONAL
   ========================================== */
.captcha-button-container {
    margin: 24px 0;
    background: #f8fafc;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
    display: block !important;
}

.captcha-checkbox-wrapper {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 16px !important; /* Punto y coma corregido aquí */
    width: 100% !important;
}

#captchaCanvas {
    cursor: pointer !important;
    background: #ffffff !important;
    border: 2px solid #cbd5e1 !important;
    border-radius: 6px !important;
    display: inline-block !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    position: relative !important;
    z-index: 999 !important;
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.1s ease;
}

#captchaCanvas:hover {
    border-color: #94a3b8 !important;
}

#captchaCanvas:active {
    transform: scale(0.95);
}

.captcha-text {
    font-size: 14px;
    color: #334155;
    user-select: none;
    font-weight: 500;
    letter-spacing: -0.1px;
}

/* ==========================================
   BOTÓN DE ENVÍO
   ========================================== */
.btn-submit {
    width: 100%;
    padding: 13px;
    background: #1e40af;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px -1px rgba(30, 64, 175, 0.2);
}

.btn-submit:hover {
    background: #1d4ed8;
    box-shadow: 0 6px 12px -1px rgba(29, 78, 216, 0.3);
}
/* Estilos para los textos de intercambio de formulario */
.form-footer {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #64748b;
}

.form-footer a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.form-footer a:hover {
    color: #2563eb;
    text-decoration: underline;
}