* { box-sizing: border-box; margin: 0; padding: 0; }

body.login-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #091d2e 0%, #0a5f6e 45%, #0d9ea8 80%, #14b8bf 100%);
    font-family: 'Segoe UI', system-ui, sans-serif;
}

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

.login-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

/* ── Header oscuro ── */
.login-header {
    background: #0d2030;
    padding: 36px 24px 28px;
    text-align: center;
}

.globe-circle {
    width: 54px;
    height: 54px;
    border: 2px solid #20b4c0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: #20b4c0;
}

.brand-name {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 5px;
    color: #ffffff;
    margin-bottom: 4px;
}

.brand-subtitle {
    font-size: 10px;
    letter-spacing: 3.5px;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 400;
}

/* ── Cuerpo blanco ── */
.login-form-section {
    background: #ffffff;
    padding: 28px 32px 24px;
}

.login-hint {
    color: #20b4c0;
    font-size: 13px;
    margin-bottom: 22px;
}

.field-group {
    margin-bottom: 16px;
}

.field-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #0a6875;
    margin-bottom: 6px;
}

.input-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #dde3e8;
    border-radius: 6px;
    overflow: hidden;
    background: #ffffff;
    transition: background 0.2s, border-color 0.2s;
}

.input-wrapper:focus-within {
    background: #ffffc8;
    border-color: #20b4c0;
}

.input-icon {
    padding: 0 10px;
    color: #aab4bc;
    display: flex;
    align-items: center;
}

.txu-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 11px 12px 11px 0;
    font-size: 14px;
    background: transparent;
    color: #2c3e50;
}

.field-error {
    display: block;
    font-size: 11px;
    color: #dc3545;
    margin-top: 4px;
}

.remember-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 16px 0 22px;
    font-size: 13px;
    color: #7a8f9a;
}

.remember-row input[type="checkbox"] {
    width: 14px;
    height: 14px;
    accent-color: #0d2030;
}

.btn-login {
    width: 100%;
    padding: 13px;
    background: #0d1f2d;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s;
}

.btn-login:hover {
    background: #1a3548;
}

.alert-error {
    background: #fff0f0;
    border: 1px solid #f5c6cb;
    color: #842029;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 13px;
    margin-bottom: 16px;
}

/* ── Footer ── */
.login-footer {
    background: #f7f9fa;
    border-top: 1px solid #eef0f2;
    text-align: center;
    padding: 12px;
    font-size: 11px;
    color: #aab4bc;
}
