/*
 * ============================================================================
 * SOLICITAR ACESSO - CSS externo
 * Migrado dos blocos <style> inline que existiam em solicitar-acesso.php.
 * ============================================================================
 */

body {
    background:
        radial-gradient(circle at top, rgba(37, 99, 235, 0.09), transparent 30%),
        linear-gradient(180deg, #f6f8fc 0%, #eef2ff 100%);
}

.login-page {
    max-width: 940px;
    margin: 0 auto;
}

.login-card {
    max-width: 860px !important;
    margin: 0 auto;
    padding: 34px 38px 30px;
    border-radius: 28px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    box-shadow: 0 22px 46px rgba(15, 23, 42, 0.11);
}

.login-logo img {
    width: 82px;
    height: 82px;
    object-fit: contain;
}

.request-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 11px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.1);
    color: #1d4ed8;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 auto 14px;
}

.login-title {
    margin-bottom: 10px;
    line-height: 1.05;
}

.request-intro {
    max-width: 560px;
    margin: 0 auto 22px;
    text-align: center;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.request-section-label {
    margin-top: 2px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1d4ed8;
}

.two-cols,
.three-cols {
    display: grid;
    gap: 14px;
}

.two-cols   { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.three-cols { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

.field {
    position: relative;
}

.field i.field-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    text-align: center;
    color: #7b8798;
    font-size: 1rem;
    pointer-events: none;
    z-index: 2;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    height: 48px;
    padding: 12px 14px 12px 52px;
    border: 1px solid #d9e1ec;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    background: rgba(255, 255, 255, 0.92);
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
    -webkit-appearance: none;
    appearance: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: #93c5fd;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
    background: #fff;
}

.field select {
    cursor: pointer;
    padding-right: 46px;
    background-image:
        linear-gradient(45deg, transparent 50%, #94a3b8 50%),
        linear-gradient(135deg, #94a3b8 50%, transparent 50%),
        linear-gradient(to right, #e2e8f0, #e2e8f0);
    background-position:
        calc(100% - 22px) calc(50% - 4px),
        calc(100% - 16px) calc(50% - 4px),
        calc(100% - 32px) 50%;
    background-size: 6px 6px, 6px 6px, 1px 14px;
    background-repeat: no-repeat;
    background-color: rgba(255, 255, 255, 0.92);
}

.field input::placeholder,
.field textarea::placeholder {
    color: #97a3b6;
    font-weight: 400;
}

.field textarea {
    min-height: 118px;
    height: auto;
    padding-top: 14px;
    resize: vertical;
    line-height: 1.45;
}

.field.field-textarea i.field-icon {
    top: 18px;
    transform: none;
}

.btn-login {
    height: 48px;
    border-radius: 14px;
    background: #1d4ed8;
    font-weight: 700;
    margin-top: 4px;
    box-shadow: 0 14px 24px rgba(29, 78, 216, 0.18);
    font-family: 'Inter', sans-serif;
}

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

.back-link {
    margin-top: 8px;
}

.login-alert {
    border-radius: 16px;
    margin-bottom: 18px;
}

.g-recaptcha-terms {
    margin-top: 18px !important;
    font-size: 0.72rem;
    color: var(--color-text-secondary);
    text-align: center;
    opacity: 0.8;
    line-height: 1.4;
}

.g-recaptcha-terms a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
}

/* ============================================================
   HONEYPOT — same technique as evento-participar
   ============================================================ */
.hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    tab-size: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 760px) {
    .login-card {
        padding: 28px 24px 24px;
    }
}

@media (max-width: 640px) {
    .login-card {
        padding: 24px 18px 22px;
    }
    .request-intro {
        font-size: 0.92rem;
    }
    .field input,
    .field select,
    .field textarea {
        font-size: 0.92rem;
    }
    .back-link a {
        font-size: 0.92rem;
    }
    .two-cols,
    .three-cols {
        grid-template-columns: 1fr;
    }
}
