/* ============================================================
   STUDIO 11 · HOME PÚBLICA
   ============================================================ */

.home-back-link {
    text-decoration: none;
}

.public-home {
    min-height: 100vh;
    overflow-x: hidden;
    color: #f7f7fa;
    background: #09090c;
}

.public-atmosphere {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.public-atmosphere::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 18%, rgba(255,255,255,.055), transparent 28%),
        linear-gradient(180deg, #111116 0%, #09090c 58%, #070709 100%);
}

.public-grid {
    position: absolute;
    inset: -15%;
    opacity: .26;
    transform: rotate(-4deg) scale(1.08);
    background:
        repeating-linear-gradient(
            90deg,
            transparent 0 70px,
            rgba(255,255,255,.018) 71px 72px
        ),
        repeating-linear-gradient(
            0deg,
            transparent 0 70px,
            rgba(255,255,255,.014) 71px 72px
        );
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 82%);
}

.public-glow {
    position: absolute;
    width: min(52vw, 730px);
    aspect-ratio: 1;
    border-radius: 50%;
    filter: blur(120px);
    opacity: .17;
}

.public-glow-pink {
    left: -24vw;
    bottom: -28vw;
    background: #ff0a78;
}

.public-glow-green {
    right: -24vw;
    top: -25vw;
    background: #5cff1f;
}

.public-eleven {
    position: absolute;
    right: -2vw;
    bottom: -14vh;
    color: rgba(255,255,255,.018);
    font-size: min(54vw, 760px);
    font-weight: 950;
    line-height: .74;
    letter-spacing: -.14em;
    user-select: none;
}

.public-shell {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 48px));
    min-height: 100vh;
    margin: 0 auto;
    display: grid;
    grid-template-rows: auto 1fr auto;
}

.public-topbar {
    min-height: 118px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.public-brand {
    width: 78px;
    height: 78px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.public-brand img,
.public-hero-logo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.public-admin-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #777781;
    font-size: 10px;
    font-weight: 850;
    text-decoration: none;
    transition: .18s ease;
}

.public-admin-link span {
    color: #a3a3ab;
}

.public-admin-link:hover {
    color: #f1f1f4;
}

.public-hero {
    width: min(760px, 100%);
    display: grid;
    place-items: center;
    align-content: center;
    justify-self: center;
    padding: 45px 0 80px;
    text-align: center;
}

.public-hero-logo {
    width: 118px;
    height: 118px;
    margin-bottom: 28px;
    filter: drop-shadow(0 16px 40px rgba(0,0,0,.28));
}

.public-eyebrow {
    margin: 0 0 14px;
    color: #71717c;
    font-size: 9px;
    font-weight: 950;
    letter-spacing: .28em;
}

.public-hero h1 {
    margin: 0;
    color: #f7f7f9;
    font-size: clamp(47px, 7vw, 92px);
    font-weight: 700;
    line-height: .95;
    letter-spacing: -.07em;
}

.public-hero h1 span {
    display: block;
    color: #a8a8b0;
    font-weight: 500;
}

.public-subtitle {
    max-width: 520px;
    margin: 22px auto 0;
    color: #73737d;
    font-size: clamp(12px, 1.3vw, 15px);
    line-height: 1.6;
}

.public-actions {
    width: min(650px, 100%);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 38px;
}

.public-button {
    min-height: 78px;
    display: grid;
    grid-template-columns: 42px 1fr auto;
    gap: 12px;
    align-items: center;
    box-sizing: border-box;
    padding: 13px 16px;
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 16px;
    color: #f5f5f7;
    background: rgba(18,18,23,.82);
    box-shadow: inset 0 1px rgba(255,255,255,.025);
    text-align: left;
    text-decoration: none;
    backdrop-filter: blur(18px);
    transition:
        transform .18s ease,
        border-color .18s ease,
        background .18s ease;
}

.public-button:hover {
    transform: translateY(-2px);
}

.public-button-primary {
    border-color: rgba(92,255,31,.13);
    background:
        radial-gradient(circle at 0 100%, rgba(92,255,31,.09), transparent 48%),
        rgba(18,18,23,.84);
}

.public-button-primary:hover {
    border-color: rgba(92,255,31,.28);
}

.public-button-secondary {
    border-color: rgba(255,10,120,.10);
    background:
        radial-gradient(circle at 100% 0, rgba(255,10,120,.075), transparent 48%),
        rgba(18,18,23,.84);
}

.public-button-secondary:hover {
    border-color: rgba(255,10,120,.22);
}

.public-button-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.065);
    border-radius: 12px;
    color: #bcbcc4;
    background: rgba(255,255,255,.035);
    font-size: 10px;
    font-weight: 950;
}

.public-button-primary .public-button-icon {
    color: #aaff8e;
    background: rgba(92,255,31,.055);
}

.public-button-secondary .public-button-icon {
    color: #ff87b8;
    background: rgba(255,10,120,.045);
}

.public-button > span:nth-child(2) {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.public-button small {
    color: #60606a;
    font-size: 7px;
    font-weight: 950;
    letter-spacing: .12em;
}

.public-button strong {
    color: #f1f1f4;
    font-size: 12px;
}

.public-button b {
    color: #777781;
    font-size: 16px;
    font-weight: 500;
}

.public-footer {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #4e4e58;
    font-size: 8px;
    font-weight: 750;
    letter-spacing: .05em;
}

.public-footer i {
    width: 3px;
    height: 3px;
    border-radius: 999px;
    background: #5cff1f;
    opacity: .55;
}


/* ============================================================
   PAYMENT PORTAL ENTRY · VISUAL SHELL
   ============================================================ */

.payment-entry-shell {
    display: grid;
    place-items: center;
    padding: 35px 0 70px;
}

.payment-entry-card {
    width: min(560px, 100%);
    box-sizing: border-box;
    padding: 28px;
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 20px;
    background:
        radial-gradient(circle at 100% 0%, rgba(92,255,31,.05), transparent 38%),
        rgba(16,16,20,.90);
    box-shadow: 0 30px 80px rgba(0,0,0,.23);
    backdrop-filter: blur(22px);
}

.payment-entry-title {
    margin-bottom: 24px;
}

.payment-entry-title > span {
    color: #5cff1f;
    font-size: 8px;
    font-weight: 950;
    letter-spacing: .18em;
}

.payment-entry-title h1 {
    margin: 6px 0 8px;
    color: #f5f5f7;
    font-size: 34px;
    line-height: 1;
    letter-spacing: -.05em;
}

.payment-entry-title p {
    max-width: 430px;
    margin: 0;
    color: #71717c;
    font-size: 10px;
    line-height: 1.6;
}

.payment-entry-form {
    display: grid;
    gap: 13px;
}

.payment-entry-initials {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 9px;
}

.payment-entry-initials label,
.payment-entry-field {
    display: grid;
    gap: 6px;
}

.payment-entry-initials label > span,
.payment-entry-field > span {
    color: #777781;
    font-size: 8px;
    font-weight: 850;
}

.payment-entry-initials input,
.payment-entry-field input,
.payment-entry-field select {
    width: 100%;
    min-height: 46px;
    box-sizing: border-box;
    padding: 0 12px;
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 11px;
    outline: 0;
    color: #f1f1f4;
    background: #111115;
    font: inherit;
    font-size: 10px;
}

.payment-entry-initials input {
    text-align: center;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 900;
}

.payment-entry-initials input:focus,
.payment-entry-field input:focus,
.payment-entry-field select:focus {
    border-color: rgba(92,255,31,.28);
}

.payment-entry-submit {
    min-height: 46px;
    margin-top: 4px;
    border: 0;
    border-radius: 11px;
    color: #080909;
    background: #5cff1f;
    font-size: 9px;
    font-weight: 950;
}

.payment-entry-submit:disabled {
    cursor: not-allowed;
    opacity: .42;
}

.payment-entry-note {
    margin: 1px 0 0;
    color: #54545e;
    font-size: 7px;
    line-height: 1.5;
    text-align: center;
}


@media (max-width: 650px) {
    .public-shell {
        width: min(100% - 30px, 1180px);
    }

    .public-topbar {
        min-height: 92px;
    }

    .public-brand {
        width: 62px;
        height: 62px;
    }

    .public-admin-link {
        font-size: 8px;
    }

    .public-hero {
        padding: 25px 0 60px;
    }

    .public-hero-logo {
        width: 92px;
        height: 92px;
        margin-bottom: 22px;
    }

    .public-actions {
        grid-template-columns: 1fr;
    }

    .public-button {
        min-height: 72px;
    }

    .payment-entry-card {
        padding: 22px 17px;
        border-radius: 17px;
    }

    .payment-entry-initials {
        grid-template-columns: 1fr;
    }

    .payment-entry-initials input {
        text-align: left;
        font-size: 12px;
    }
}


/* ============================================================
   PAYMENT PORTAL · FUNCIONAL V1
   ============================================================ */

.portal-alert {
    margin-bottom: 14px;
    padding: 11px 13px;
    border-radius: 11px;
    font-size: 9px;
    line-height: 1.45;
}

.portal-alert.error {
    border: 1px solid rgba(255,83,113,.16);
    color: #ff96aa;
    background: rgba(255,83,113,.055);
}

.portal-alert.success {
    border: 1px solid rgba(92,255,31,.15);
    color: #aaff8e;
    background: rgba(92,255,31,.055);
}

.payment-entry-submit:not(:disabled) {
    cursor: pointer;
    opacity: 1;
}

.portal-match-title {
    display: grid;
    gap: 4px;
    margin: 7px 0 11px;
}

.portal-match-title span {
    color: #5cff1f;
    font-size: 7px;
    font-weight: 950;
    letter-spacing: .15em;
}

.portal-match-title strong {
    color: #e9e9ed;
    font-size: 10px;
}

.portal-candidates {
    display: grid;
    gap: 8px;
}

.portal-candidates form {
    margin: 0;
}

.portal-candidates button {
    width: 100%;
    min-height: 51px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 13px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 11px;
    color: #f0f0f3;
    background: #121217;
    font-size: 10px;
    font-weight: 900;
    cursor: pointer;
}

.portal-candidates button:hover {
    border-color: rgba(92,255,31,.20);
    background: rgba(92,255,31,.045);
}

.portal-candidates button b {
    color: #5cff1f;
}

.portal-start-over {
    display: inline-block;
    margin-top: 13px;
    color: #777781;
    font-size: 8px;
    font-weight: 850;
    text-decoration: none;
}


/* ACCOUNT */

.portal-account-shell {
    width: min(820px, 100%);
    justify-self: center;
    align-self: center;
    padding: 35px 0 70px;
}

.portal-account-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
}

.portal-account-head > div {
    min-width: 0;
    display: grid;
    gap: 5px;
}

.portal-account-head > div > span {
    color: #5cff1f;
    font-size: 7px;
    font-weight: 950;
    letter-spacing: .16em;
}

.portal-account-head h1 {
    margin: 0;
    overflow: hidden;
    color: #f4f4f6;
    font-size: clamp(22px, 4vw, 34px);
    line-height: 1.05;
    letter-spacing: -.045em;
    text-overflow: ellipsis;
}

.portal-account-head p {
    margin: 0;
    color: #666671;
    font-size: 8px;
}

.portal-account-head > a {
    flex: 0 0 auto;
    color: #81818b;
    font-size: 8px;
    font-weight: 850;
    text-decoration: none;
}

.portal-balance-card {
    min-height: 118px;
    display: grid;
    align-content: center;
    gap: 5px;
    box-sizing: border-box;
    padding: 18px;
    border: 1px solid rgba(92,255,31,.10);
    border-radius: 16px;
    background:
        radial-gradient(circle at 0% 100%, rgba(92,255,31,.07), transparent 42%),
        rgba(16,16,20,.90);
}

.portal-balance-card > span {
    color: #6d6d77;
    font-size: 7px;
    font-weight: 950;
    letter-spacing: .12em;
}

.portal-balance-card > strong {
    color: #f5f5f7;
    font-size: clamp(29px, 5vw, 43px);
    line-height: 1;
    letter-spacing: -.06em;
}

.portal-balance-card > small {
    color: #696973;
    font-size: 8px;
}

.portal-receipts {
    display: grid;
    gap: 11px;
    margin-top: 11px;
}

.portal-receipt {
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 16px;
    background: rgba(16,16,20,.92);
}

.portal-receipt-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
    border-bottom: 1px solid rgba(255,255,255,.05);
}

.portal-receipt-head > div {
    display: grid;
    gap: 4px;
}

.portal-receipt-head > div > span {
    color: #5f5f69;
    font-size: 6px;
    font-weight: 900;
}

.portal-receipt-head h2 {
    margin: 0;
    color: #f4f4f6;
    font-size: 23px;
    letter-spacing: -.05em;
}

.portal-receipt-head p {
    margin: 0;
    color: #666671;
    font-size: 8px;
}

.portal-receipt-head p strong {
    color: #92929c;
}

.portal-receipt-status {
    min-height: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 9px;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 999px;
    font-size: 7px;
    font-weight: 950;
    white-space: nowrap;
}

.portal-receipt-status.pending {
    color: #9696a0;
    background: rgba(255,255,255,.035);
}

.portal-receipt-status.reminder {
    border-color: rgba(255,214,92,.17);
    color: #ffe486;
    background: rgba(255,214,92,.065);
}

.portal-receipt-status.warning {
    border-color: rgba(255,151,66,.18);
    color: #ffb06f;
    background: rgba(255,151,66,.07);
}

.portal-receipt-status.suspended {
    border-color: rgba(255,79,105,.20);
    color: #ff8fa0;
    background: rgba(255,79,105,.075);
}

.portal-receipt-status.review {
    border-color: rgba(255,214,92,.17);
    color: #ffe486;
    background: rgba(255,214,92,.06);
}

.portal-receipt-items {
    display: grid;
    padding: 0 16px;
}

.portal-receipt-items > div {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border-bottom: 1px solid rgba(255,255,255,.04);
}

.portal-receipt-items > div:last-child {
    border-bottom: 0;
}

.portal-receipt-items > div > span {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.portal-receipt-items strong {
    color: #d8d8dd;
    font-size: 8px;
    letter-spacing: .02em;
}

.portal-receipt-items small {
    color: #666671;
    font-size: 8px;
}

.portal-receipt-items b {
    flex: 0 0 auto;
    color: #f0f0f3;
    font-size: 10px;
}

.portal-upload-form {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 11px;
    align-items: end;
    padding: 14px 16px 16px;
    border-top: 1px solid rgba(255,255,255,.05);
    background: rgba(255,255,255,.012);
}

.portal-upload-form label {
    min-width: 0;
    display: grid;
    gap: 6px;
}

.portal-upload-form label > span {
    color: #5cff1f;
    font-size: 7px;
    font-weight: 950;
    letter-spacing: .11em;
}

.portal-upload-form input[type="file"] {
    width: 100%;
    min-height: 42px;
    box-sizing: border-box;
    padding: 8px;
    border: 1px dashed rgba(255,255,255,.10);
    border-radius: 10px;
    color: #8a8a94;
    background: #111115;
    font-size: 8px;
}

.portal-upload-form label > small {
    color: #555560;
    font-size: 7px;
}

.portal-upload-form button {
    min-height: 42px;
    padding: 0 14px;
    border: 0;
    border-radius: 10px;
    color: #080909;
    background: #5cff1f;
    font-size: 8px;
    font-weight: 950;
    cursor: pointer;
    white-space: nowrap;
}

.portal-proof-waiting {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 14px 16px 16px;
    padding: 12px;
    border: 1px solid rgba(255,214,92,.11);
    border-radius: 11px;
    background: rgba(255,214,92,.035);
}

.portal-proof-waiting > span {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 9px;
    color: #ffe486;
    background: rgba(255,214,92,.07);
    font-size: 10px;
}

.portal-proof-waiting > div,
.portal-proof-rejected {
    display: grid;
    gap: 3px;
}

.portal-proof-waiting strong,
.portal-proof-rejected strong {
    color: #e7e7eb;
    font-size: 8px;
}

.portal-proof-waiting small,
.portal-proof-rejected span {
    color: #686872;
    font-size: 7px;
}

.portal-proof-rejected {
    margin: 12px 16px 0;
    padding: 10px 11px;
    border: 1px solid rgba(255,79,105,.11);
    border-radius: 10px;
    background: rgba(255,79,105,.035);
}

.portal-proof-rejected strong {
    color: #ff96a8;
}

.portal-paid-up {
    min-height: 260px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 7px;
    margin-top: 11px;
    border: 1px solid rgba(92,255,31,.09);
    border-radius: 16px;
    background: rgba(16,16,20,.88);
    text-align: center;
}

.portal-paid-up > span {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #aaff8e;
    background: rgba(92,255,31,.055);
    font-size: 18px;
}

.portal-paid-up strong {
    color: #eeeeF1;
    font-size: 12px;
}

.portal-paid-up p {
    margin: 0;
    color: #686872;
    font-size: 8px;
}

.portal-privacy-note {
    max-width: 520px;
    margin: 15px auto 0;
    color: #4f4f59;
    font-size: 7px;
    line-height: 1.55;
    text-align: center;
}

@media (max-width: 650px) {
    .portal-account-shell {
        padding: 20px 0 55px;
    }

    .portal-account-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .portal-receipt-head {
        flex-direction: column;
    }

    .portal-upload-form {
        grid-template-columns: 1fr;
    }

    .portal-upload-form button {
        width: 100%;
    }
}


/* ============================================================
   V2 · UNA TRANSFERENCIA / UN COMPROBANTE / VARIOS RECIBOS
   ============================================================ */

.portal-receipt.is-in-review {
    border-color: rgba(255,214,92,.10);
    opacity: .86;
}

.portal-review-summary {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 11px;
    padding: 13px 15px;
    border: 1px solid rgba(255,214,92,.11);
    border-radius: 13px;
    background: rgba(255,214,92,.035);
}

.portal-review-icon {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 10px;
    color: #ffe486;
    background: rgba(255,214,92,.07);
    font-size: 11px;
    font-weight: 950;
}

.portal-review-summary > div {
    display: grid;
    gap: 3px;
}

.portal-review-summary strong {
    color: #eeeef1;
    font-size: 9px;
}

.portal-review-summary small {
    color: #686872;
    font-size: 7px;
}

.portal-total-proof {
    display: grid;
    gap: 13px;
    margin-top: 13px;
    padding: 19px;
    border: 1px solid rgba(92,255,31,.13);
    border-radius: 17px;
    background:
        radial-gradient(circle at 0% 100%, rgba(92,255,31,.075), transparent 45%),
        rgba(16,16,20,.94);
}

.portal-total-proof-head {
    display: grid;
    gap: 4px;
}

.portal-total-proof-head > span {
    color: #5cff1f;
    font-size: 7px;
    font-weight: 950;
    letter-spacing: .15em;
}

.portal-total-proof-head h2 {
    margin: 0;
    color: #f5f5f7;
    font-size: clamp(25px, 4vw, 34px);
    line-height: 1;
    letter-spacing: -.055em;
}

.portal-total-proof-head p {
    margin: 2px 0 0;
    color: #73737d;
    font-size: 9px;
    line-height: 1.55;
}

.portal-total-proof-head p strong {
    color: #a6a6ae;
}

.portal-total-proof-file {
    display: grid;
    gap: 6px;
}

.portal-total-proof-file > span {
    color: #777781;
    font-size: 7px;
    font-weight: 950;
    letter-spacing: .10em;
}

.portal-total-proof-file input[type="file"] {
    width: 100%;
    min-height: 48px;
    box-sizing: border-box;
    padding: 9px;
    border: 1px dashed rgba(92,255,31,.15);
    border-radius: 11px;
    color: #92929c;
    background: #101014;
    font-size: 8px;
}

.portal-total-proof-file > small {
    color: #565660;
    font-size: 7px;
}

.portal-total-proof > button {
    min-height: 47px;
    border: 0;
    border-radius: 11px;
    color: #080909;
    background: #5cff1f;
    font-size: 9px;
    font-weight: 950;
    cursor: pointer;
}

.portal-total-proof-note {
    color: #5a5a64;
    font-size: 7px;
    line-height: 1.55;
    text-align: center;
}

.portal-proof-all-review {
    display: grid;
    place-items: center;
    gap: 5px;
    margin-top: 13px;
    padding: 25px 18px;
    border: 1px solid rgba(255,214,92,.11);
    border-radius: 15px;
    background: rgba(255,214,92,.035);
    text-align: center;
}

.portal-proof-all-review > span {
    color: #ffe486;
    font-size: 7px;
    font-weight: 950;
    letter-spacing: .13em;
}

.portal-proof-all-review strong {
    color: #eeeeF1;
    font-size: 11px;
}

.portal-proof-all-review small {
    color: #676771;
    font-size: 8px;
}
