.agent-deposit-guide {
    max-width: 1040px;
    margin: 0 auto;
    color: #182033;
}

.agent-deposit-guide__header {
    padding: 18px 0 22px;
    border-bottom: 1px solid #e5e7eb;
}

.agent-deposit-guide__header h1 {
    margin: 0;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.3;
}

.agent-deposit-guide__header h2 {
    margin: 14px 0 0;
    color: #697386;
    font-size: 16px;
    font-weight: 600;
}

.agent-deposit-guide__methods {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1fr);
    align-items: start;
    gap: 34px;
    margin: 36px 0 44px;
}

.agent-deposit-guide__method-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.agent-deposit-guide__method-header {
    position: relative;
    width: 100%;
    padding: 0 0 22px;
    border: 0;
    background: transparent;
    color: #182033;
    text-align: left;
}

.agent-deposit-guide__method-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.agent-deposit-guide__method-title-row strong {
    font-size: 19px;
    line-height: 1.4;
}

.agent-deposit-guide__method-description {
    display: block;
    margin-top: 7px;
    color: #7c8494;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
}

.agent-deposit-guide__badge {
    flex-shrink: 0;
    padding: 3px 8px;
    border-radius: 999px;
    background: #eef4ff;
    color: #2867df;
    font-size: 10px;
    font-weight: 700;
}

.agent-deposit-guide__method-body {
    flex: 1;
    padding: 0;
}

.agent-deposit-guide__qr-body {
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-top: 6px;
}

.agent-deposit-guide__qr-card {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 230px;
    min-height: 230px;
    padding: 18px;
    border: 1px solid #e3e6ec;
    border-radius: 12px;
    background: #fafbfc;
}

.agent-deposit-guide__qr-card img,
.agent-deposit-guide__qr-card canvas,
.agent-deposit-guide__qr-card table {
    display: block;
    max-width: 190px;
    max-height: 190px;
    object-fit: contain;
}

.agent-deposit-guide__qr-placeholder {
    color: #858c9b;
    font-size: 13px;
    text-align: center;
}

.agent-deposit-guide__qr-body .agent-deposit-guide__action-button {
    min-width: 150px;
    margin-top: 18px;
}

.agent-deposit-guide__separator {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 410px;
    color: #969dab;
    font-size: 11px;
    font-weight: 700;
}

.agent-deposit-guide__separator::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: #e5e7eb;
    content: '';
}

.agent-deposit-guide__separator span {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 0;
    background: #fff;
}

.agent-deposit-guide__details {
    margin: 0 0 20px;
}

.agent-deposit-guide__detail-row {
    display: grid;
    grid-template-columns: 36% minmax(0, 1fr);
    align-items: center;
    min-height: 68px;
    margin: 0;
    border-bottom: 1px solid #e8eaf0;
}

.agent-deposit-guide__detail-row dt {
    padding-right: 12px;
    color: #858c9b;
    font-size: 12px;
    font-weight: 400;
}

.agent-deposit-guide__detail-row dd {
    min-width: 0;
    margin: 0;
    color: #182033;
    font-size: 14px;
    font-weight: 700;
}

.agent-deposit-guide__detail-row dd > span {
    display: block;
    margin-top: 2px;
    color: #858c9b;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
}

.agent-deposit-guide__account-number {
    overflow-wrap: anywhere;
    color: #3478f6 !important;
    font-size: 18px !important;
}

.agent-deposit-guide__optional-label {
    display: block;
    margin-top: 3px;
    color: #a0a6b2;
    font-size: 10px;
    line-height: 1.3;
}

.agent-deposit-guide__transfer-content {
    overflow-wrap: anywhere;
    font-size: 13px !important;
}

.agent-deposit-guide__detail-row dd.agent-deposit-guide__copy-field {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.agent-deposit-guide__detail-row dd.agent-deposit-guide__copy-field > span {
    min-width: 0;
    margin: 0;
    color: #182033;
    font-weight: 700;
    line-height: 1.4;
}

.agent-deposit-guide__inline-copy-button {
    flex-shrink: 0;
    padding: 5px 9px;
    border: 1px solid #cfd8ea;
    border-radius: 6px;
    background: #fff;
    color: #2867df;
    font-size: 11px;
    font-weight: 700;
}

.agent-deposit-guide__inline-copy-button:hover,
.agent-deposit-guide__inline-copy-button:focus {
    border-color: #9db8ed;
    background: #f5f8ff;
    color: #1f5bc6;
}

.agent-deposit-guide__inline-copy-button[disabled] {
    border-color: #e0e3e8;
    background: #f7f8fa;
    color: #a1a7b2;
}

.agent-deposit-guide__action-button {
    min-height: 40px;
    padding: 9px 14px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 700;
}

.agent-deposit-guide__action-button .glyphicon {
    margin-right: 5px;
}

.agent-deposit-guide__action-button--primary {
    border-color: #1f2937;
    background: #1f2937;
    color: #fff;
}

.agent-deposit-guide__action-button--primary:hover,
.agent-deposit-guide__action-button--primary:focus {
    border-color: #293247;
    background: #293247;
    color: #fff;
}

.agent-deposit-guide__action-button--secondary {
    border-color: #cfd4dd;
    background: #fff;
    color: #30384a;
}

.agent-deposit-guide__action-button--secondary:hover,
.agent-deposit-guide__action-button--secondary:focus {
    border-color: #9ba3b1;
    background: #f7f8fa;
    color: #182033;
}

.agent-deposit-guide__action-button[disabled] {
    border-color: #c9ced7;
    background: #c9ced7;
    color: #fff;
}

.agent-deposit-guide__notice {
    padding: 13px 15px;
    border-radius: 8px;
    background: #f5f6f8;
    color: #5e6675;
    font-size: 12px;
    line-height: 1.5;
}

.agent-deposit-guide__notice strong {
    color: #30384a;
}

.deposit-limit-retirement-notice {
    margin: 18px auto 0;
    color: #d0021b;
    font-size: 15px;
    line-height: 1.5;
    text-align: center;
}

.deposit-limit-retirement-notice a,
.deposit-limit-retirement-notice a:hover,
.deposit-limit-retirement-notice a:focus {
    color: #d0021b;
    text-decoration: underline;
}

@media (max-width: 767px) {
    .agent-deposit-guide__header {
        padding-top: 12px;
    }

    .agent-deposit-guide__header h1 {
        font-size: 26px;
    }

    .agent-deposit-guide__methods {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
        margin-top: 24px;
    }

    .agent-deposit-guide__method-card {
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
    }

    .agent-deposit-guide__method-header {
        padding: 18px 0 17px;
    }

    .agent-deposit-guide__method-title-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .agent-deposit-guide__method-title-row strong {
        font-size: 16px;
    }

    .agent-deposit-guide__method-body {
        padding: 0 0 20px;
    }

    .agent-deposit-guide__separator {
        min-height: 0;
        gap: 10px;
        margin: 10px 0;
    }

    .agent-deposit-guide__separator::before {
        position: static;
        flex: 1;
        width: auto;
        height: 1px;
    }

    .agent-deposit-guide__separator::after {
        flex: 1;
        height: 1px;
        background: #e2e5eb;
        content: '';
    }

    .agent-deposit-guide__separator span {
        width: auto;
        height: auto;
        border: 0;
        border-radius: 0;
    }

    .agent-deposit-guide__qr-card {
        width: 220px;
        min-height: 220px;
    }
}

@media (max-width: 420px) {
    .agent-deposit-guide__detail-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 7px;
        padding: 14px 0;
    }

    .agent-deposit-guide__detail-row dt {
        padding-right: 0;
    }

}
