.path-local-cesa_autoregistro {
    --cesa-ink: #142235;
    --cesa-ink-strong: #0a1423;
    --cesa-blue: #1b2d44;
    --cesa-blue-soft: #2a3f5c;
    --cesa-accent: #b8893d;
    --cesa-accent-soft: #e8d6b1;
    --cesa-surface: #f4f6f8;
    --cesa-surface-2: #ffffff;
    --cesa-line: #d9e0e7;
    --cesa-text-soft: #5d6b7a;
}

.path-local-cesa_autoregistro .login-container {
    max-width: none;
}

.path-local-cesa_autoregistro #page {
    background:
    radial-gradient(circle at top left, rgba(184, 137, 61, 0.08), transparent 34%),
    radial-gradient(circle at bottom right, rgba(27, 45, 68, 0.08), transparent 34%),
    linear-gradient(180deg, #f7f9fb 0%, #eef2f6 100%);
}

.path-local-cesa_autoregistro #page-content {
    padding-top: 2rem;
    padding-bottom: 3rem;
}

.cesa-autoregistro {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1rem;
}

.cesa-autoregistro__logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.75rem;
    padding: 1rem 0 0.5rem;
    border-bottom: 1px solid var(--cesa-line);
}

.cesa-autoregistro__shell {
    display: grid;
    grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.cesa-autoregistro__hero {
    position: sticky;
    top: 1rem;
    padding: 2rem;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(184, 137, 61, 0.18), transparent 30%),
        linear-gradient(160deg, rgba(20, 34, 53, 0.98), rgba(10, 20, 35, 0.98)),
        linear-gradient(180deg, #142235 0%, #0a1423 100%);
    color: #fff;
    box-shadow: 0 28px 70px rgba(16, 39, 67, 0.28);
}

.cesa-autoregistro__logo-cesa {
    max-height: 56px !important;
    filter: none !important;
    opacity: 1 !important;
}

.cesa-autoregistro__logo-image {
    display: block;
    max-width: 100%;
    max-height: 64px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(1.12) contrast(1.08);
    opacity: 0.98;
    drop-shadow: 0 10px 24px rgba(6, 12, 22, 0.2);
}

.cesa-autoregistro__eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(184, 137, 61, 0.2);
    color: #f7e8c9;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 1rem;
}

.cesa-autoregistro__title {
    margin: 1rem 0 0.75rem;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 0.95;
    font-weight: 800;
    color: #f7f9fd;
}

.cesa-autoregistro__lead {
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.92);
}

.cesa-autoregistro__badge {
    margin-top: 1.25rem;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(184, 137, 61, 0.2);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
}

.cesa-autoregistro__badge-value {
    font-weight: 800;
    color: #ffffff;
}

.cesa-autoregistro__highlights {
    display: grid;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.cesa-autoregistro__highlight {
    padding: 0.95rem 1rem;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(184, 137, 61, 0.08));
    border: 1px solid rgba(184, 137, 61, 0.16);
    line-height: 1.5;
}

.cesa-autoregistro__panel {
    padding: 2rem;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(27, 45, 68, 0.08);
    box-shadow: 0 24px 60px rgba(27, 45, 68, 0.12);
}

.cesa-autoregistro__panel-title {
    margin: 0;
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-weight: 800;
    color: var(--cesa-ink);
}

.cesa-autoregistro__panel-subtitle {
    margin: 0.5rem 0 1.5rem;
    color: var(--cesa-text-soft);
    line-height: 1.6;
}

.cesa-autoregistro__form-wrap .mform {
    margin-top: 1rem;
}

.cesa-autoregistro__section {
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    border: 1px solid var(--cesa-line);
    border-radius: 22px;
    background: linear-gradient(180deg, var(--cesa-surface-2) 0%, var(--cesa-surface) 100%);
}

.cesa-autoregistro__section-header h3 {
    margin: 0 0 0.35rem;
    color: var(--cesa-ink);
    font-size: 1.1rem;
    font-weight: 800;
}

.cesa-autoregistro__section-header p {
    margin: 0 0 1rem;
    color: var(--cesa-text-soft);
}

.cesa-autoregistro__password-policy {
    padding: 0.85rem 1rem;
    border-radius: 16px;
    background: linear-gradient(180deg, #f4efe4 0%, #efe4cd 100%);
    color: #6b4f21;
    border: 1px solid rgba(184, 137, 61, 0.25);
    line-height: 1.6;
}

.cesa-autoregistro__form-wrap .fitem {
    margin-bottom: 1rem;
}

.cesa-autoregistro__form-wrap .fitemtitle {
    width: 100%;
    margin-bottom: 0.35rem;
}

.cesa-autoregistro__form-wrap .felement {
    width: 100%;
}

.cesa-autoregistro__form-wrap input[type="text"],
.cesa-autoregistro__form-wrap input[type="password"],
.cesa-autoregistro__form-wrap input[type="email"],
.cesa-autoregistro__form-wrap select,
.cesa-autoregistro__form-wrap textarea {
    width: 100%;
    min-height: 54px;
    border: 1px solid var(--cesa-line);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.cesa-autoregistro__form-wrap input[type="text"]:focus,
.cesa-autoregistro__form-wrap input[type="password"]:focus,
.cesa-autoregistro__form-wrap input[type="email"]:focus,
.cesa-autoregistro__form-wrap select:focus,
.cesa-autoregistro__form-wrap textarea:focus {
    border-color: var(--cesa-blue);
    box-shadow: 0 0 0 4px rgba(27, 45, 68, 0.12);
}

.cesa-autoregistro__form-wrap .btn-primary,
.cesa-autoregistro__cta {
    min-height: 52px;
    padding: 0.85rem 1.4rem;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--cesa-blue) 0%, var(--cesa-ink) 100%);
    box-shadow: 0 16px 32px rgba(27, 45, 68, 0.22);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.01em;
}

.cesa-autoregistro__form-wrap .btn-primary:hover,
.cesa-autoregistro__cta:hover {
    background: linear-gradient(135deg, #314764 0%, #1b2d44 100%);
    color: #ffffff;
}

.cesa-autoregistro__form-wrap .btn-secondary {
    min-height: 52px;
    border-radius: 999px;
    border-color: var(--cesa-line);
    background: #f7f9fb;
    color: var(--cesa-ink);
}

.cesa-autoregistro__actions {
    margin-top: 1rem;
}

.cesa-autoregistro .alert,
.cesa-autoregistro .notification {
    border-radius: 18px;
}

.cesa-autoregistro .alert-info,
.cesa-autoregistro .notification-info {
    background: linear-gradient(180deg, #eef3f9 0%, #e4ecf6 100%);
    border-color: rgba(27, 45, 68, 0.16);
    color: var(--cesa-ink);
}

.cesa-autoregistro .alert-warning,
.cesa-autoregistro .notification-warning {
    background: linear-gradient(180deg, #f7efe0 0%, #efe0c3 100%);
    border-color: rgba(184, 137, 61, 0.22);
    color: #6a4e1c;
}

.cesa-autoregistro .alert-success,
.cesa-autoregistro .notification-success {
    background: linear-gradient(180deg, #eef2f6 0%, #e7edf4 100%);
    border-color: rgba(27, 45, 68, 0.12);
    color: var(--cesa-ink);
}

@media (max-width: 991px) {
    .cesa-autoregistro__shell {
        grid-template-columns: 1fr;
    }

    .cesa-autoregistro__hero {
        position: relative;
        top: 0;
    }

    .cesa-autoregistro__panel,
    .cesa-autoregistro__hero {
        padding: 1.5rem;
    }

    .cesa-autoregistro__logos {
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .cesa-autoregistro {
        padding: 0 0.5rem;
    }

    .cesa-autoregistro__section {
        padding: 1rem;
    }
}