/* ============================================================
   PAYMENT METHOD STYLES
   ============================================================ */

.m-payment-page {
    background: #F4F6FB;
    min-height: 100vh;
    padding-bottom: 110px;
}

/* TOP BAR */
.m-payment-top-bar {
    height: 52px;
    background: white;
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    border-bottom: 1px solid #F3F4F6;
}
.m-payment-top-bar .back-btn {
    color: #111827;
    display: flex;
    align-items: center;
    text-decoration: none;
    width: 40px; /* balance logo width */
}
.m-payment-top-bar .back-btn svg {
    width: 22px;
    height: 22px;
}
.m-payment-top-bar .title {
    font-size: 17px;
    font-weight: 700;
    color: #111827;
}
.m-payment-top-bar .logo {
    width: 40px;
    display: flex;
    justify-content: flex-end;
}

/* CARDS COMMON */
.m-payment-card {
    margin: 12px 16px;
    background: white;
    border-radius: 16px;
    overflow: hidden;
}
.m-payment-card .header {
    font-size: 16px;
    font-weight: 800;
    padding: 16px;
    border-bottom: 1px solid #F3F4F6;
    color: #111827;
}

/* PAYMENT OPTIONS */
.option-row {
    display: flex;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #F3F4F6;
    gap: 14px;
    cursor: pointer;
    transition: background 0.2s;
}
.option-row:last-child {
    border-bottom: none;
}
.option-row:active {
    background: #F9FAFB;
}
.option-row .radio-circle {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.option-row .radio-circle .dot {
    width: 12px;
    height: 12px;
    background: var(--m-primary-purple);
    border-radius: 50%;
}
.option-row.selected .radio-circle {
    border-color: var(--m-primary-purple);
}
.option-row .text {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: #111827;
}
.option-row .icons {
    display: flex;
    align-items: center;
    gap: 6px;
}
.option-row .icons svg {
    width: 24px;
    height: 24px;
}

/* RAZORPAY BADGE */
.m-razorpay-badge {
    margin: 0 16px 12px;
    background: white;
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid #E5E7EB;
}
.m-razorpay-badge svg {
    width: 24px;
    height: 24px;
}
.m-razorpay-badge .text-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ACCORDION */
.m-order-accordion {
    margin: 0 16px 12px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
}
.m-order-accordion .acc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    cursor: pointer;
}
.m-order-accordion .acc-header .title {
    font-weight: 700;
    font-size: 14px;
    color: #111827;
}
.m-order-accordion .acc-header .right-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #4B5563;
    font-weight: 500;
}
.m-order-accordion .acc-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}
.m-order-accordion .acc-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #F9FAFB;
    padding: 0 16px;
}
.m-order-accordion .acc-content.expanded {
    max-height: 300px;
    padding: 12px 16px 16px;
    border-top: 1px solid #F3F4F6;
}
.m-order-accordion .acc-item {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #4B5563;
    margin-bottom: 8px;
}
.m-order-accordion .acc-item:last-child {
    margin-bottom: 0;
}

/* BOTTOM SECTION */
.m-payment-bottom-bar {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: white;
    padding: 12px 16px 20px;
    border-top: 1px solid #F3F4F6;
    z-index: 100;
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
}
.m-payment-bottom-bar .total-row {
    text-align: right;
    font-size: 16px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 10px;
}
.m-payment-bottom-bar .btn-pay {
    width: 100%;
    height: 54px;
    background: #2563EB; /* Blue per spec */
    color: white;
    border: none;
    border-radius: 14px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s;
}
