/* ==========================================================================
   Services Pages — bp-* namespace (PendingInvoicesSearch / Recharge)
   ========================================================================== */

/* ==========================================================================
   Section wrapper
   ========================================================================== */
.bp-section {
    min-height: 70vh;
    background: linear-gradient(to bottom, #f4f6fb 0%, #ffffff 100%);
    display: flex;
    align-items: center;
    padding: 3.5rem 0;
}

.bp-section--compact {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    padding-top: 2rem;
    padding-bottom: 18%;
}

.bp-section > .container {
    width: 100%;
}

/* ==========================================================================
   Page header — compact, no full hero
   ========================================================================== */
.bp-page-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2.25rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.bp-page-header__icon {
    width: 60px;
    min-width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2C3D85 0%, #3a4ea0 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 18px rgba(44, 61, 133, 0.28);
    flex-shrink: 0;
}

.bp-page-header__icon--green {
    background: linear-gradient(135deg, #9BB643 0%, #b0cc55 100%);
    box-shadow: 0 4px 18px rgba(155, 182, 67, 0.32);
}

.bp-page-header__title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: #2C3D85;
    margin: 0 0 0.25rem;
    line-height: 1.2;
}

.bp-page-header__desc {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

/* ==========================================================================
   Search card
   ========================================================================== */
.bp-search-card {
    background: white;
    border-radius: 20px;
    border: 1px solid rgba(44, 61, 133, 0.09);
    box-shadow: 0 4px 28px rgba(44, 61, 133, 0.08);
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}

.bp-search-card__body {
    padding: 2.25rem 2.5rem;
}

/* Label */
.bp-search__label {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: #2C3D85;
    margin-bottom: 0.6rem;
    letter-spacing: 0.01em;
}

/* Input + button in a row */
.bp-search__row {
    display: flex;
    gap: 0.75rem;
    align-items: stretch;
}

.bp-search__input-wrap {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
}

.bp-search__icon {
    position: absolute;
    left: 1rem;
    font-size: 0.88rem;
    color: #94a3b8;
    pointer-events: none;
    transition: color 0.2s ease;
}

.bp-search__input-wrap:focus-within .bp-search__icon {
    color: #2C3D85;
}

.bp-search__input {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
    color: #1a2b4a;
    background: #f8faff;
    border: 1.5px solid rgba(44, 61, 133, 0.15);
    border-radius: 12px;
    padding: 0.75rem 1rem 0.75rem 2.6rem;
    width: 100%;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-sizing: border-box;
}

.bp-search__input::placeholder {
    color: #b0bec5;
}

.bp-search__input:focus {
    border-color: #2C3D85;
    background: white;
    box-shadow: 0 0 0 3px rgba(44, 61, 133, 0.1);
}

.bp-search__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #2C3D85;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0 1.75rem;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 14px rgba(44, 61, 133, 0.28);
}

.bp-search__btn:hover {
    background: #9BB643;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(155, 182, 67, 0.38);
}

/* ==========================================================================
   Results area
   ========================================================================== */
.bp-results {
    padding: 0 2.5rem 2.25rem;
}

.bp-results:empty {
    display: none;
}

.bp-search__error {
    display: block;
    margin-top: 0.6rem;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: #dc3545;
}

.bp-search__error--center {
    text-align: center;
}

.bp-feedback {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 14px;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
}

.bp-feedback i {
    font-size: 1rem;
}

.bp-feedback__content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.bp-feedback--success {
    background: rgba(155, 182, 67, 0.12);
    border: 1px solid rgba(155, 182, 67, 0.3);
    color: #486018;
}

.bp-feedback--error {
    background: rgba(220, 53, 69, 0.08);
    border: 1px solid rgba(220, 53, 69, 0.2);
    color: #b42318;
}

.bp-search__btn--continue {
    text-decoration: none;
}

.bp-search__btn--pay {
    padding: 0.55rem 1rem;
    font-size: 0.75rem;
}

.bp-pay-form {
    margin: 0;
}

.bp-recaptcha-field {
    display: flex;
    justify-content: center;
    margin-top: 1.25rem;
}

.bp-recaptcha-field--search {
    margin-top: 0.85rem;
    margin-bottom: 0;
}

.bp-recaptcha-field--search + .bp-search__error {
    margin-top: 0.45rem;
    margin-bottom: -1.4rem;
}

.bp-recaptcha-field--recharge {
    margin-top: 0.85rem;
    margin-bottom: -0.5rem;
}


/* ==========================================================================
   Table
   ========================================================================== */
.bp-table-wrap {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid rgba(44, 61, 133, 0.09);
}

.bp-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.875rem;
}

.bp-table thead tr {
    background: #f0f4ff;
}


.bp-table th {
    font-family: 'Poppins', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #2C3D85;
    padding: 0.85rem 1.1rem;
    text-align: left;
    white-space: nowrap;
}

.bp-table td {
    padding: 0.85rem 1.1rem;
    color: #4a5568;
    border-top: 1px solid rgba(44, 61, 133, 0.06);
    vertical-align: middle;
}

.bp-table tbody tr:hover td {
    background: #f8faff;
}

/* Empty state */
.bp-table__empty td {
    text-align: center;
    padding: 2.5rem 1rem;
    color: #94a3b8;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
}

.bp-table__empty i {
    display: block;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    opacity: 0.4;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 640px) {
    .bp-section {
        padding: 2rem 0 3.5rem;
    }

    .bp-search-card__body,
    .bp-results {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .bp-search__row {
        flex-direction: column;
    }

    .bp-search__btn {
        padding: 0.75rem 1rem;
        justify-content: center;
    }

    .bp-feedback {
        flex-direction: column;
        align-items: stretch;
    }

    .bp-feedback__content {
        justify-content: center;
        text-align: center;
    }

    .bp-page-header__icon {
        width: 48px;
        min-width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }
}
