.swibz-offline-wrapper {
    --swibz-primary: #0d6efd;
}

.swibz-payment-card-shell {
    max-width: 850px;
    margin: 40px auto;
    border: none;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(16, 24, 40, 0.08);
    background: #fff;
}

.swibz-header {
    background: linear-gradient(135deg, var(--swibz-primary), #174ea6);
    color: #fff;
    padding: 28px 30px;
}

.swibz-header h2 {
    margin: 0 0 8px;
    font-size: 2rem;
    font-weight: 700;
}

.swibz-card-body {
    padding: 28px 30px 30px;
}

.swibz-subtitle {
    margin: -8px 0 18px;
    color: #667085;
    font-size: 0.95rem;
    line-height: 1.45;
}

.swibz-method-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.swibz-payment-card {
    appearance: none;
    border: 2px solid #d7dde8;
    border-radius: 14px;
    padding: 14px 14px 12px;
    background: #fff;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    color: #101828;
}

.swibz-payment-card:hover {
    border-color: var(--swibz-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(16, 24, 40, 0.08);
}

.swibz-payment-card.active {
    border-color: var(--swibz-primary);
    background: rgba(13, 110, 253, 0.06);
}

.swibz-payment-card strong {
    display: block;
    font-size: 0.96rem;
    line-height: 1.25;
}

.swibz-method-instructions {
    margin-top: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e4e7ec;
    color: #344054;
    white-space: pre-line;
}

.swibz-instructions {
    display: none;
    animation: swibz-fade 0.25s ease;
}

.swibz-instructions.active {
    display: block;
}

.swibz-instructions .table {
    margin-bottom: 18px;
}

.swibz-bank-summary {
    background: #f8fafc;
    border: 1px solid #e4e7ec;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 16px;
}

.swibz-bank-name {
    font-weight: 700;
    color: #101828;
    margin-bottom: 10px;
}

.swibz-bank-pills {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
}

.swibz-pill {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 12px 10px;
    border-radius: 12px;
    border: 1px solid #d0d5dd;
    background: #fff;
}

.swibz-pill-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #667085;
    font-weight: 700;
}

.swibz-pill-value {
    font-size: 1rem;
    font-weight: 700;
    color: #101828;
    word-break: break-word;
}

.swibz-inline-copy {
    align-self: flex-start;
    margin-left: 0;
    margin-top: 4px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--swibz-primary);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
}

.swibz-hidden-copy {
    display: none;
}

.swibz-copy-target {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    word-break: break-word;
}

.swibz-copy-btn {
    margin-left: 10px;
}

.swibz-qr-box {
    width: 220px;
    height: 220px;
    margin: 0 auto;
    border: 2px dashed #98a2b3;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
}

.swibz-qr-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swibz-qr-placeholder {
    padding: 16px;
    text-align: center;
    color: #667085;
    font-size: 0.95rem;
}

.swibz-bank-logo {
    max-height: 56px;
    max-width: 180px;
    display: block;
}

.swibz-support {
    margin-bottom: 0;
    margin-top: 16px;
}

@keyframes swibz-fade {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .swibz-card-body,
    .swibz-header {
        padding-left: 18px;
        padding-right: 18px;
    }

    .swibz-method-selector {
        grid-template-columns: 1fr;
    }

    .swibz-copy-btn {
        margin-left: 0;
        margin-top: 8px;
        display: inline-block;
    }

    .swibz-bank-pills {
        grid-template-columns: 1fr;
    }
}
