/* =========================
   ACUSE DE RECIBO
========================= */

.receipt-topbar {
    width: 100%;
    min-height: 66px;
    background: #0b6b00;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 26px 0 36px;
}

.receipt-topbar__title {
    margin: 0;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    font-family: "Inter", Arial, Helvetica, sans-serif;
}

.receipt-body {
    width: 100%;
    margin: 0 auto;
    padding: 30px 34px 36px;
}

.receipt-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 30px 0 72px 0;
}

.receipt-status__icon {
    width: 92px;
    height: 92px;
    border: 6px solid #0b6b00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.receipt-status__icon span {
    font-size: 52px;
    line-height: 1;
    color: #0b6b00;
    font-weight: 700;
}

.receipt-status__title {
    margin: 0;
    text-align: center;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 700;
    color: #111111;
}

.receipt-card {
    max-width: 700px;
    margin: 0 auto 72px;
    background: #ececec;
    border-radius: 6px;
    padding: 16px 16px 14px;
}

.receipt-card__title {
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 700;
    color: #111111;
}

.receipt-card__text {
    margin: 0 0 18px;
    font-size: 11px;
    line-height: 1.45;
    color: #222222;
}

.receipt-reference {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.receipt-reference span {
    font-size: 32px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 1px;
    color: #111111;
    font-family: "Inter", Arial, Helvetica, sans-serif;
}

.receipt-reference__copy {
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.receipt-reference__copy img {
    width: 18px;
    height: 18px;
}

.receipt-card__note {
    margin: 0;
    font-size: 11px;
    line-height: 1.45;
    color: #222222;
}

/* =========================
   CONTRASEÑA DEL BUZÓN
========================= */

.receipt-password-section {
    max-width: 670px;
    margin: 0 auto;
}

.receipt-password-section__title {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 700;
    color: #111111;
}

.receipt-password-section__text {
    width: 100%;
    max-width: none;
    margin: 0 0 28px;
    font-size: 11.5px;
    line-height: 1.45;
    color: #222222;
    font-family: "Inter", Arial, Helvetica, sans-serif;
}

.receipt-password-form {
    width: 100%;
}

.receipt-password-row {
    display: grid;
    grid-template-columns: 150px 360px;
    justify-content: start;
    align-items: start;
    gap: 18px;
    margin-bottom: 14px;
}

.receipt-password-help {
    grid-column: 2;
    margin: -8px 0 10px;
    font-family: "Inter", Arial, Helvetica, sans-serif;
    font-size: 11.5px;
    line-height: 1.35;
    color: #6b7280;
}

.receipt-password-label {
    font-size: 12px;
    line-height: 1.3;
    color: #111111;
    font-weight: 700;
}

.receipt-password-label span {
    color: #d21919;
}

.receipt-password-field {
    position: relative;
    width: 100%;
}

.receipt-password-input {
    width: 100%;
    height: 38px;
    border: 1px solid #86add1;
    background: #ffffff;
    padding: 0 42px 0 12px;
    font-size: 12px;
    color: #111111;
    outline: none;
    font-family: "Inter", Arial, Helvetica, sans-serif;
}

.receipt-password-toggle {
    position: absolute;
    top: 19px;
    right: 10px;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: none;
    background: #ffffff;
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.receipt-password-toggle img {
    width: 18px;
    height: 18px;
    display: block;
}

/* =========================
   ACCIONES
========================= */

.receipt-actions {
    width: 100%;
    margin: 50px auto 0;
}

.receipt-actions__submit {
    width: 100%;
    min-height: 46px;
    border: none;
    background: var(--primary);
    color: #ffffff;
    font-family: "Inter", Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.receipt-actions__submit:hover {
    background: #1b547a;
}

/* =========================
   MANEJO DE ERRORES
========================= */

.receipt-password-input.is-invalid {
    border-color: #c62828;
}

.receipt-password-label.is-invalid {
    color: #c62828;
}

.receipt-password-field .invalid-feedback {
    display: none;
    margin-top: 6px;
    font-family: "Inter", Arial, Helvetica, sans-serif;
    font-size: 12px;
    line-height: 1.4;
    color: #c62828;
}

.receipt-password-input.is-invalid+.receipt-password-toggle+.invalid-feedback {
    display: block;
}

/* =========================
   RESPONSIVE ACUSE
========================= */

@media (max-width: 900px) {

    .receipt-topbar,
    .receipt-body,
    .receipt-actions {
        width: 100%;
    }

    .receipt-body {
        padding: 30px 24px 50px;
    }

    .receipt-password-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .receipt-password-help {
        grid-column: 1;
        margin: -2px 0 10px;
    }

}

@media (max-width: 640px) {
    .receipt-topbar {
        padding: 0 18px;
    }

    .receipt-topbar__title {
        font-size: 15px;
    }

    .receipt-status__icon {
        width: 74px;
        height: 74px;
        border-width: 5px;
    }

    .receipt-status__icon span {
        font-size: 40px;
    }

    .receipt-status__title {
        font-size: 22px;
    }

    .receipt-reference span {
        font-size: 24px;
    }

    .receipt-password-section__title {
        font-size: 22px;
    }
}