.wc-payin-card,
.wc-payin-card * {
    box-sizing: border-box;
}

.wc-payin-card {
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    border: 1px solid #d9e5f7;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 8px 24px rgba(18, 34, 72, 0.1);
    color: #183153;
}

.wc-payin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.wc-payin-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.wc-payin-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.wc-payin-badges span {
    border: 1px solid #bfd3f0;
    background: #f2f7ff;
    color: #254d86;
    font-size: 11px;
    font-weight: 700;
    border-radius: 999px;
    padding: 2px 8px;
}

.wc-payin-description {
    color: #4f6488;
    margin: 0 0 10px;
}

.wc-payin-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.wc-payin-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #d7e5fa;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    border-radius: 999px;
    padding: 3px 10px 3px 6px;
}

.wc-payin-chip-icon {
    display: inline-flex;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
    flex: 0 0 18px;
}

.wc-payin-chip-icon svg {
    width: 12px;
    height: 12px;
}

.wc-payin-chip-icon--wallet {
    background: linear-gradient(135deg, #2467ff 0%, #1b48e6 100%);
}

.wc-payin-chip-icon--wallet svg {
    fill: #fff;
}

.wc-payin-chip-icon--network {
    background: linear-gradient(135deg, #00b38f 0%, #058f7f 100%);
}

.wc-payin-chip-icon--network svg {
    fill: #fff;
    stroke: #fff;
    stroke-width: 1.2;
    stroke-linejoin: round;
}

.wc-payin-chip-icon--currency {
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
}

.wc-payin-chip-icon--currency svg {
    fill: #fff;
}

.wc-payin-chip em {
    font-style: normal;
    font-size: 12px;
    color: #1f3d69;
    font-weight: 700;
}

.wc-payin-flow {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 12px;
}

.wc-payin-flow-step {
    border: 1px solid #dae6f8;
    border-radius: 10px;
    padding: 8px 10px;
    background: #fff;
}

.wc-payin-flow-step span {
    display: inline-flex;
    width: 18px;
    height: 18px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #1d4ed8;
    color: #fff;
    font-size: 11px;
    margin-right: 6px;
}

.wc-payin-flow-step strong {
    font-size: 12px;
    color: #1c3764;
}

.wc-payin-meta {
    border: 1px solid #dce8f9;
    border-radius: 10px;
    background: #fff;
    padding: 10px;
    margin-bottom: 10px;
}

.wc-payin-meta-item {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 12px;
    padding: 4px 0;
}

.wc-payin-meta-item label {
    color: #52698f;
    font-weight: 600;
}

.wc-payin-meta-item span {
    color: #163763;
    font-weight: 700;
}

.wc-payin-tip {
    margin: 0;
    font-size: 12px;
    color: #4c6388;
}

@media (max-width: 900px) {
    .wc-payin-flow {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .wc-payin-card {
        padding: 12px;
        border-radius: 10px;
    }
}

@media (prefers-color-scheme: dark) {
    .wc-payin-card {
        background: linear-gradient(180deg, #0f1d35 0%, #142745 100%);
        border-color: #2a4370;
        color: #e7eefc;
    }
    .wc-payin-description,
    .wc-payin-tip,
    .wc-payin-meta-item label {
        color: #b8c8e8;
    }
    .wc-payin-chip {
        background: rgba(255, 255, 255, 0.06);
        border-color: #355789;
    }
    .wc-payin-chip-icon {
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
    }
    .wc-payin-chip-icon--wallet {
        background: linear-gradient(135deg, #3e7dff 0%, #2f57d9 100%);
    }
    .wc-payin-chip-icon--network {
        background: linear-gradient(135deg, #12c8ab 0%, #138a87 100%);
    }
    .wc-payin-chip-icon--currency {
        background: linear-gradient(135deg, #fbbf24 0%, #f97316 100%);
    }
    .wc-payin-chip em {
        color: #e9f0ff;
    }
    .wc-payin-flow-step,
    .wc-payin-meta {
        background: rgba(255, 255, 255, 0.04);
        border-color: #305081;
    }
    .wc-payin-meta-item span,
    .wc-payin-flow-step strong {
        color: #f1f6ff;
    }
}
