/* Solicitud de acceso — landing form */

.bz-access-page {
    min-height: 100vh;
    background:
        radial-gradient(ellipse 100% 60% at 50% -10%, rgba(0, 122, 255, 0.14), transparent 55%),
        linear-gradient(180deg, #eef3fb 0%, #f7f8fa 40%, #ffffff 100%);
    padding: 1.25rem 1rem 3rem;
}

.bz-access-shell {
    max-width: 36rem;
    margin: 0 auto;
}

.bz-access-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.bz-access-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #111827;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.bz-access-brand img {
    width: 2.25rem;
    height: 2.25rem;
    object-fit: contain;
    border-radius: 0.5rem;
}

.bz-access-login-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
}

.bz-access-login-link:hover {
    text-decoration: underline;
}

.bz-access-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 1.25rem;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
    padding: 1.5rem 1.25rem 1.75rem;
}

@media (min-width: 640px) {
    .bz-access-card {
        padding: 1.75rem 1.75rem 2rem;
    }
}

.bz-access-kicker {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #2563eb;
}

.bz-access-card h1 {
    margin-top: 0.35rem;
    font-size: 1.625rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #111827;
    line-height: 1.2;
}

.bz-access-lead {
    margin-top: 0.5rem;
    margin-bottom: 1.25rem;
    font-size: 0.9375rem;
    color: #4b5563;
    line-height: 1.5;
}

.bz-access-success {
    text-align: center;
    padding: 0.5rem 0;
}

.bz-access-success i {
    font-size: 2rem;
    color: #16a34a;
}

.bz-access-success h1 {
    margin-top: 0.75rem;
}

.bz-access-success p {
    margin: 0.75rem 0 1.25rem;
    color: #4b5563;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.bz-access-form .bz-hp {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.bz-access-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.875rem;
}

@media (min-width: 640px) {
    .bz-access-grid {
        grid-template-columns: 1fr 1fr;
    }

    .bz-field-full {
        grid-column: 1 / -1;
    }
}

.bz-field label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.35rem;
}

.bz-optional {
    font-weight: 500;
    color: #9ca3af;
}

.bz-field input,
.bz-field textarea {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 0.7rem 0.85rem;
    font-size: 0.9375rem;
    color: #111827;
    background: #fff;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.bz-field textarea {
    resize: vertical;
    min-height: 5rem;
}

.bz-field input:focus,
.bz-field textarea:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.bz-access-checks {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.bz-check {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #4b5563;
    cursor: pointer;
}

.bz-check input {
    margin-top: 0.2rem;
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
    accent-color: #007AFF;
}

.bz-check a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.bz-access-status {
    margin-top: 0.875rem;
    padding: 0.75rem 0.875rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.4;
}

.bz-access-status.is-error {
    background: #fef2f2;
    color: #b91c1c;
}

.bz-access-status.is-ok {
    background: #f0fdf4;
    color: #166534;
}

.bz-access-status.hidden {
    display: none;
}

.bz-access-submit {
    margin-top: 1.125rem;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 3rem;
    border: none;
    border-radius: 0.875rem;
    background-image: linear-gradient(135deg, #007AFF 0%, #0055CC 100%);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 85, 204, 0.28);
    -webkit-tap-highlight-color: transparent;
}

.bz-access-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.bz-access-submit:active:not(:disabled) {
    transform: scale(0.99);
}

.bz-access-submit-secondary {
    background-image: none;
    background: #111827;
    box-shadow: none;
}

.bz-access-footnote {
    margin-top: 0.875rem;
    font-size: 0.75rem;
    line-height: 1.45;
    color: #6b7280;
    text-align: center;
}

/* Embed en home #preacceso */
.bz-access-embed {
    margin-top: 1.75rem;
    text-align: left;
    background: #fff;
    border: 1px solid #dbeafe;
    border-radius: 1.25rem;
    box-shadow: 0 8px 28px rgba(37, 99, 235, 0.08);
    padding: 1.25rem 1.125rem 1.5rem;
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 640px) {
    .bz-access-embed {
        padding: 1.5rem 1.5rem 1.75rem;
    }
}

.bz-access-embed .bz-access-embed-title {
    font-size: 1.125rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #111827;
}

.bz-access-embed .bz-access-embed-sub {
    margin-top: 0.35rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.45;
}
