/* ============================================================
   checkout-reminder.css
   Styles for:
     - .ci-reminder-card  (inline card in dashboard & profile)
     - .ci-popup          (site-wide floating toast)
   ============================================================ */

/* ── Inline reminder card ─────────────────────────────────── */
.ci-reminder-card {
    border-radius: .75rem;
    padding: .85rem 1rem;
    border-left: 3px solid var(--bs-warning);
    background: rgba(var(--bs-warning-rgb, 255,193,7), .08);
}
.ci-reminder-card--bank {
    border-left-color: var(--bs-info);
    background: rgba(var(--bs-info-rgb, 13,202,240), .07);
}
.ci-reminder-card__header {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: #856404;
    margin-bottom: .35rem;
}
.ci-reminder-card--bank .ci-reminder-card__header {
    color: #0a6c8a;
}
[data-theme="dark"] .ci-reminder-card__header      { color: #ffc107; }
[data-theme="dark"] .ci-reminder-card--bank .ci-reminder-card__header { color: #0dcaf0; }
[data-theme="dark"] .ci-reminder-card {
    background: rgba(255,193,7,.06);
}
[data-theme="dark"] .ci-reminder-card--bank {
    background: rgba(13,202,240,.06);
}

/* ── Site-wide floating popup ─────────────────────────────── */
.ci-popup {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 1060;
    max-width: 340px;
    width: calc(100vw - 2rem);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .22s ease, transform .22s ease;
    align-items: stretch;
}
[dir="rtl"] .ci-popup {
    right: auto;
    left: 1.5rem;
}
.ci-popup__inner {
    background: var(--bs-body-bg, #fff);
    border: 1px solid rgba(0,0,0,.1);
    border-radius: 1rem;
    box-shadow: 0 8px 30px rgba(0,0,0,.14);
    padding: 1.1rem 1.2rem 1rem;
    position: relative;
    width: 100%;
}
[data-theme="dark"] .ci-popup__inner {
    background: #1e2027;
    border-color: rgba(255,255,255,.1);
}
.ci-popup__close {
    position: absolute;
    top: .6rem;
    right: .7rem;
    background: none;
    border: none;
    padding: 0;
    font-size: .9rem;
    color: var(--bs-secondary-color, #6c757d);
    cursor: pointer;
    line-height: 1;
}
[dir="rtl"] .ci-popup__close {
    right: auto;
    left: .7rem;
}
.ci-popup__close:hover { color: var(--bs-body-color, #212529); }
.ci-popup__icon {
    font-size: 1.5rem;
    color: #f59e0b;
    margin-bottom: .4rem;
}
.ci-popup__title {
    font-weight: 700;
    font-size: .95rem;
    margin-bottom: .15rem;
}
.ci-popup__plan {
    font-size: .88rem;
    font-weight: 600;
    color: var(--bs-primary, #0d6efd);
    margin-bottom: .25rem;
}
.ci-popup__meta {
    font-size: .8rem;
    color: var(--bs-secondary-color, #6c757d);
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
    align-items: center;
    margin-bottom: .45rem;
}
.ci-popup__sep { opacity: .5; }
.ci-popup__msg {
    font-size: .8rem;
    color: var(--bs-secondary-color, #6c757d);
    margin-bottom: .75rem;
    line-height: 1.45;
}
.ci-popup__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    align-items: center;
}
.ci-popup__dismiss {
    font-size: .78rem;
    color: var(--bs-secondary-color, #6c757d);
    padding: 0 .25rem;
    text-decoration: none;
}
.ci-popup__dismiss:hover { color: var(--bs-body-color, #212529); }

@media (max-width: 576px) {
    .ci-popup {
        bottom: 1rem;
        right: 0;
        left: 0;
        width: 100%;
        max-width: 100%;
    }
    .ci-popup__inner {
        border-radius: 1rem 1rem 0 0;
        border-bottom: none;
    }
    [dir="rtl"] .ci-popup { left: 0; right: 0; }
}
