/* ============================================
   MP Tek Sayfa Ödeme v2.0.0 — Frontend Checkout CSS
   Modern SaaS UI & Dynamic Customizer Palette Support
   @author MP UlubeyWeb
   ============================================ */

/* ====== THEME PAGE CONTAINER RESETS ====== */
#module-mp_teksayfaodeme-checkout #content.page-content,
#module-mp_teksayfaodeme-checkout .page-content.card,
#module-mp_teksayfaodeme-checkout .card.card-block,
body#module-mp_teksayfaodeme-checkout #content.page-content {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

#module-mp_teksayfaodeme-checkout #content-wrapper,
#module-mp_teksayfaodeme-checkout #main {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
}

#module-mp_teksayfaodeme-checkout .page-header {
    display: none !important;
}

#module-mp_teksayfaodeme-checkout #left-column,
#module-mp_teksayfaodeme-checkout #right-column {
    display: none !important;
}

:root {
    --mp-container-max-width: 1400px !important;
}

#header .elementor-section.elementor-section-boxed > .elementor-container,
#footer .elementor-section.elementor-section-boxed > .elementor-container,
.elementor-section.elementor-section-boxed > .elementor-container,
.elementor-container,
#header .container,
#footer .container,
#header .mp-container,
#footer .mp-container,
.mp-container,
.container {
    max-width: 1400px !important;
    width: 100% !important;
}

/* ====== WRAPPER & RESET ====== */
.mptso-checkout-wrapper {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #1e293b;
    margin: 0 auto;
    padding: 20px 15px 60px;
    box-sizing: border-box;
    width: 100%;
    max-width: 1400px !important;
}

.mptso-checkout-wrapper * {
    box-sizing: border-box;
}

.mptso-checkout-wrapper label,
.mptso-checkout-wrapper .label {
    text-align: left !important;
}

/* ====== TOP SECURITY BANNER ====== */
.mptso-top-banner {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 20px;
    margin-bottom: 25px;
}

.mptso-top-banner-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.mptso-top-left, .mptso-top-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mptso-top-icon {
    font-size: 18px !important;
    color: #10b981;
}

/* ====== 2-COLUMN GRID LAYOUT (50% / 50% DENGELİ SÜTUN & STICKY SAĞ PANEL) ====== */
.mptso-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.mptso-col-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.mptso-col-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 20px;
    z-index: 10;
    min-width: 0;
}

/* ====== MODULAR BLOCK / CARD ====== */
.mptso-block {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.02);
    overflow: hidden;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.mptso-block:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.mptso-block-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.mptso-header-icon {
    font-size: 22px !important;
    color: #2563eb;
}

.mptso-block-title {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 !important;
    letter-spacing: -0.3px;
}

.mptso-badge-logged {
    margin-left: auto;
    font-size: 12px;
    font-weight: 600;
    color: #059669;
    background: #d1fae5;
    padding: 4px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.mptso-badge-logged i {
    font-size: 14px;
}

.mptso-block-body {
    padding: 20px;
}

/* 3'lü Buton Sekmeleri (Oturum Aç / Misafir / Kayıt Ol) */
.mptso-auth-tabs-wrapper {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.mptso-auth-tab-btn {
    flex: 1;
    padding: 10px 14px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
}

.mptso-auth-tab-btn:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}

.mptso-auth-tab-btn.active {
    background: #3b5998;
    border-color: #3b5998;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(59, 89, 152, 0.25);
}

/* ====== KAYITLI ADRES ÖZET KARTI & ADRES SEÇİCİ ====== */
.mptso-saved-address-container {
    margin-bottom: 8px;
}

.mptso-address-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.mptso-address-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #475569;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mptso-address-pill:hover {
    border-color: #3b5998;
    color: #3b5998;
    background: #f8fafc;
}

.mptso-address-pill.active {
    background: #eff6ff;
    border-color: #3b82f6;
    color: #1d4ed8;
    box-shadow: 0 1px 4px rgba(59, 130, 246, 0.2);
}

.mptso-saved-address-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    transition: border-color 0.2s ease;
}

.mptso-saved-address-card:hover {
    border-color: #cbd5e1;
}

.mptso-sac-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.mptso-sac-user {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #1e293b;
}

.mptso-sac-icon {
    color: #3b82f6;
    font-size: 20px;
}

.mptso-sac-badge {
    background: #f1f5f9;
    color: #64748b;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 6px;
    text-transform: uppercase;
}

.mptso-sac-edit-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #2563eb;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mptso-sac-edit-btn:hover {
    background: #eff6ff;
    border-color: #3b82f6;
}

.mptso-sac-edit-btn span.material-icons-round {
    font-size: 14px;
}

.mptso-sac-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
}

.mptso-sac-line {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.mptso-sac-line .material-icons-round {
    font-size: 16px;
    color: #94a3b8;
    margin-top: 2px;
    flex-shrink: 0;
}

.mptso-sac-phone-missing {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.mptso-missing-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.mptso-btn-quick-add-phone {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #ef4444;
    color: #ffffff;
    border: none;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mptso-btn-quick-add-phone:hover {
    background: #dc2626;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.28);
}

@keyframes mptsoPulse {
    0%, 100% { border-color: #ef4444; box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); background-color: #ffffff; }
    50% { border-color: #dc2626; box-shadow: 0 0 0 6px rgba(239, 68, 68, 0.25); background-color: #fef2f2; }
}

.mptso-input-pulse {
    animation: mptsoPulse 0.7s 4 ease-in-out !important;
    border-color: #ef4444 !important;
    outline: none !important;
}

.mptso-sac-footer {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px dashed #f1f5f9;
    display: flex;
    justify-content: flex-end;
}

.mptso-btn-add-new-address {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: transparent;
    border: none;
    color: #059669;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.mptso-btn-add-new-address:hover {
    background: #ecfdf5;
    color: #047857;
}

.mptso-btn-add-new-address span.material-icons-round {
    font-size: 16px;
}

.mptso-address-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed #e2e8f0;
}

.mptso-btn-cancel-address {
    padding: 9px 18px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
    cursor: pointer;
    transition: all 0.15s ease;
}

.mptso-btn-cancel-address:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.mptso-btn-save-address {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 22px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    background: #10b981;
    color: #ffffff;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.25);
    transition: all 0.15s ease;
}

.mptso-btn-save-address:hover {
    background: #059669;
    box-shadow: 0 3px 8px rgba(16, 185, 129, 0.35);
}

/* ====== FORM GRID & INPUTS ====== */
.mptso-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -8px 14px;
}

.mptso-row:last-child {
    margin-bottom: 0;
}

.mptso-col-12 { width: 100%; padding: 0 8px; }
.mptso-col-6  { width: 50%; padding: 0 8px; }
.mptso-col-4  { width: 33.333%; padding: 0 8px; }

.mptso-form-group {
    margin-bottom: 4px;
}

.mptso-label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 6px;
    text-align: left !important;
}

.mptso-label .required {
    color: #ef4444;
}

.mptso-input, .mptso-select, .mptso-textarea {
    width: 100%;
    padding: 10px 14px;
    font-size: 13.5px;
    font-family: inherit;
    color: #1e293b;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.mptso-input:focus, .mptso-select:focus, .mptso-textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.mptso-input.is-invalid, .mptso-select.is-invalid, .mptso-textarea.is-invalid {
    border-color: #ef4444 !important;
    background-color: #fffafb !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12) !important;
}

.mptso-field-error {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #dc2626;
    font-size: 11.5px;
    font-weight: 500;
    margin-top: 4px;
    line-height: 1.3;
    animation: mptsoFadeIn 0.2s ease;
}

.mptso-checkbox-row {
    margin-bottom: 12px;
}

.mptso-checkbox-row.has-error .mptso-cb-text {
    color: #dc2626 !important;
}

.mptso-checkbox-row.has-error input[type="checkbox"] {
    outline: 2px solid #ef4444;
    outline-offset: 2px;
}

.mptso-checkbox-row.has-error .mptso-custom-checkbox {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2) !important;
}

.mptso-block.has-error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12) !important;
}

.mptso-password-group {
    position: relative;
    width: 100%;
}

.mptso-password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
    transition: color 0.2s ease, transform 0.1s ease;
    z-index: 3;
}

.mptso-password-toggle:hover {
    color: #3b5998;
}

.mptso-password-toggle:active {
    transform: translateY(-50%) scale(0.92);
}

.mptso-password-toggle span {
    font-size: 20px;
    user-select: none;
}

.mptso-textarea {
    resize: vertical;
}

.mptso-hint {
    font-size: 11.5px;
    color: #94a3b8;
    margin-top: 4px;
    display: block;
}

/* ====== FİRMA ALANLARI AÇ / KAPA TOGGLE ====== */
.mptso-business-toggle-wrapper {
    margin: 16px 0 10px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    padding: 12px 16px;
}

.mptso-business-toggle-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    background: none;
    border: none;
    padding: 0;
    font-size: 13.5px;
    font-weight: 600;
    color: #2563eb;
    cursor: pointer;
    text-align: left;
    outline: none;
}

.mptso-business-icon {
    font-size: 20px !important;
}

.mptso-toggle-arrow {
    margin-left: auto;
    font-size: 20px !important;
    transition: transform 0.2s ease;
}

.mptso-business-fields {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #e2e8f0;
}

/* ====== FARKLI FATURA ADRESİ CHECKBOX ====== */
.mptso-diff-invoice-wrapper {
    margin-top: 14px;
}

/* ====== CUSTOM CHECKBOX / RADIO ====== */
.mptso-checkbox-label, .mptso-carrier-label, .mptso-payment-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: #334155;
    user-select: none;
    text-align: left !important;
}

.mptso-checkbox-label input[type="checkbox"],
.mptso-carrier-radio input[type="radio"],
.mptso-payment-radio input[type="radio"] {
    display: none;
}

.mptso-custom-checkbox {
    width: 18px;
    height: 18px;
    border: 1.5px solid #cbd5e1;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.mptso-custom-checkbox i {
    font-size: 14px;
    color: #ffffff;
    display: none;
}

.mptso-checkbox-label input[type="checkbox"]:checked + .mptso-custom-checkbox {
    background: #2563eb;
    border-color: #2563eb;
}

.mptso-checkbox-label input[type="checkbox"]:checked + .mptso-custom-checkbox i {
    display: block;
}

.mptso-custom-radio {
    width: 18px;
    height: 18px;
    border: 1.5px solid #cbd5e1;
    border-radius: 50%;
    display: inline-block;
    background: #ffffff;
    flex-shrink: 0;
    position: relative;
    transition: all 0.2s ease;
}

input[type="radio"]:checked + .mptso-custom-radio {
    border-color: #2563eb;
}

input[type="radio"]:checked + .mptso-custom-radio::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: #2563eb;
    border-radius: 50%;
    top: 3px;
    left: 3px;
}

/* ====== MP_SHOPINGCART İLE BİREBİR ÜCRETSİZ KARGO ALANI ====== */
.mptso-free-shipping-wrap {
    margin-bottom: 16px;
    padding: 15px 18px 18px;
    background: #f7f9f4;
    border: 1px solid #dce7d2;
    border-radius: 10px;
}

.mptso-free-shipping-wrap.mptso-fs-special {
    background: #f1f8ea;
    border-color: #b7d59b;
}

.mptso-free-shipping-wrap.mptso-fs-success-wrap {
    background: #f0fdf4;
    border-color: #86efac;
}

.mptso-fs-text {
    margin-bottom: 12px;
    color: #444;
    font-size: 13.5px;
    line-height: 1.5;
    text-align: center;
}

.mptso-fs-text strong {
    color: #42730c;
    font-weight: 800;
}

.mptso-fs-success {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #42730c;
    font-weight: 700;
}

.mptso-fs-success .material-icons-round {
    font-size: 20px !important;
    color: #42730c;
}

.mptso-fs-progress-container {
    position: relative;
    width: 100%;
    height: 9px;
    background: #dfe6d9;
    border-radius: 30px;
}

.mptso-fs-progress-fill {
    position: relative;
    height: 100%;
    background: #42730c;
    border-radius: 30px;
    transition: width 0.35s ease;
    min-width: 12px;
}

.mptso-fs-progress-icon {
    position: absolute;
    top: 50%;
    right: -16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: #fff;
    background: #42730c;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.18);
    transform: translateY(-50%);
    z-index: 2;
}

.mptso-fs-progress-icon .material-icons-round {
    font-size: 17px !important;
    color: #fff;
}

/* Özel Ürün Kargo Bedava Mesajı */
.mptso-fs-special-msg {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    margin-bottom: 14px;
}

.mptso-fs-gift-icon {
    display: flex;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #42730c;
    border-radius: 50%;
}

.mptso-fs-gift-icon .material-icons-round {
    font-size: 22px !important;
    color: #ffffff;
}

.mptso-fs-special-content {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.mptso-fs-special-content strong {
    font-size: 14px;
    font-weight: 700;
    color: #274706;
}

.mptso-fs-special-content span {
    font-size: 12px;
    color: #557833;
}

.mptso-fs-completed-bar {
    width: 100%;
    height: 9px;
    background: #dfe6d9;
    border-radius: 30px;
    position: relative;
}

.mptso-fs-completed-fill {
    width: 100%;
    height: 100%;
    background: #42730c;
    border-radius: 30px;
    position: relative;
}

.mptso-fs-completed-fill .material-icons-round {
    position: absolute;
    right: -14px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: #42730c;
    color: #fff;
    border: 3px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px !important;
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.18);
}

/* ====== CARRIER ITEMS ====== */
.mptso-shipping-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mptso-carrier-item {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    transition: all 0.2s ease;
    cursor: pointer;
    overflow: hidden;
}

.mptso-carrier-item:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.mptso-carrier-item.active {
    border-color: #2563eb;
    background: #eff6ff;
    box-shadow: 0 0 0 1px #2563eb;
}

.mptso-carrier-label {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    margin: 0;
    cursor: pointer;
    gap: 14px;
    width: 100%;
}

.mptso-carrier-radio {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.mptso-carrier-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    padding: 4px 8px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    min-width: 65px;
    height: 38px;
    flex-shrink: 0;
}

.mptso-carrier-logo img {
    max-height: 26px;
    max-width: 65px;
    object-fit: contain;
}

.mptso-carrier-details {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
    min-width: 0;
}

.mptso-carrier-name {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
}

.mptso-carrier-delay {
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
}

.mptso-carrier-delay span.material-icons-round {
    font-size: 14px !important;
    color: #94a3b8;
}

.mptso-carrier-price {
    flex-shrink: 0;
    margin-left: auto;
    text-align: right;
}

.mptso-price-tag {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    display: inline-block;
}

.mptso-carrier-item.active .mptso-price-tag {
    color: #1d4ed8;
}

.mptso-free-shipping {
    color: #059669;
    font-weight: 700;
}

.mptso-order-note-wrapper {
    margin-top: 16px;
}

/* ====== SHIPPING ALERTS (HTML KUTULARI) ====== */
.mptso-shipping-alerts {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mptso-alert-box {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    background: #fffbeb;
    border: 1px solid #fef3c7;
    color: #92400e;
}

/* ====== PAYMENT ITEMS ====== */
.mptso-payment-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mptso-payment-item {
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 16px;
    transition: all 0.2s ease;
    background: #ffffff;
}

.mptso-payment-item.active {
    border-color: var(--mptso-active-item-border, #15803d);
    background: var(--mptso-active-item-bg, #f0fdf4);
}

.mptso-payment-label {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 !important;
    cursor: pointer !important;
    gap: 12px !important;
}

.mptso-payment-radio {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mptso-payment-info {
    display: flex;
    align-items: center;
    flex-grow: 1;
}

.mptso-payment-name {
    font-weight: 600;
    color: #0f172a;
    font-size: 14px;
}

.mptso-payment-logo {
    margin-left: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-shrink: 0;
}

.mptso-payment-logo img {
    max-height: 28px !important;
    max-width: 95px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    vertical-align: middle !important;
}

.mptso-payment-extra-info {
    margin-top: 12px;
    width: 100%;
}

.mptso-payment-custom-desc {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 13px;
    color: #334155;
    line-height: 1.45;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
    margin-bottom: 8px;
}

.mptso-payment-form-wrapper {
    margin-top: 10px;
}

/* ====== CART SUMMARY ====== */
.mptso-cart-products {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 280px;
    overflow-y: auto;
    padding-right: 4px;
}

.mptso-cart-product-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 14px;
    margin-bottom: 4px;
    border-bottom: 1px solid #f1f5f9;
}

.mptso-cart-product-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.mptso-prod-img {
    flex-shrink: 0;
}

.mptso-prod-img-link {
    display: block;
    width: 56px;
    height: 56px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    background: #ffffff;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.mptso-prod-img-link:hover {
    transform: scale(1.04);
    border-color: #cbd5e1;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

.mptso-prod-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mptso-prod-content-wrap {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 8px;
}

.mptso-prod-details {
    width: 100%;
    min-width: 0;
}

.mptso-prod-name {
    font-size: 13.5px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
    display: block;
    text-decoration: none;
    word-break: break-word;
    transition: color 0.15s ease;
}

.mptso-prod-name:hover {
    color: #2563eb;
}

.mptso-prod-attrs,
.mptso-prod-attr {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 6px;
    margin-top: 4px;
    font-size: 11.5px;
    color: #64748b;
    line-height: 1.3;
}

.mptso-prod-attr-item {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 1px 7px;
    border-radius: 4px;
    font-size: 11px;
    color: #475569;
}

.mptso-attr-group {
    font-weight: 500;
    color: #64748b;
}

.mptso-attr-val {
    font-weight: 600;
    color: #1e293b;
}

/* Alt Satır: Miktar Kontrolleri (Solda), Fiyat ve Silme Butonu (Sağda) */
.mptso-prod-actions-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
}

/* Miktar + - Kontrolleri (Modern Minimal Pill) */
.mptso-prod-qty-ctrl {
    display: inline-flex;
    align-items: center;
    background: #f8fafc;
    border-radius: 20px;
    padding: 2px 4px;
    margin: 0;
    flex-shrink: 0;
    border: 1px solid #e2e8f0;
}

.mptso-qty-btn {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 50%;
    font-size: 15px;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    line-height: 1;
    transition: all 0.15s ease;
    padding: 0;
}

.mptso-qty-btn:hover {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.mptso-qty-val {
    min-width: 24px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    padding: 0 4px;
}

.mptso-prod-pricing-remove {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mptso-prod-total {
    font-weight: 700;
    font-size: 15px;
    color: #0f172a;
    white-space: nowrap;
    letter-spacing: -0.2px;
}

.mptso-prod-remove-wrap {
    flex-shrink: 0;
}

.mptso-btn-remove-prod {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.mptso-btn-remove-prod span.material-icons-round {
    font-size: 19px !important;
}

.mptso-btn-remove-prod:hover {
    color: #ef4444;
    background: #fee2e2;
}

/* Coupon */
.mptso-coupon-wrapper {
    margin: 16px 0;
    padding: 12px 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}

.mptso-coupon-form {
    display: flex;
    gap: 8px;
}

.mptso-btn-coupon {
    padding: 10px 18px;
    background: #f1f5f9;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    transition: all 0.2s;
}

.mptso-btn-coupon:hover {
    background: #e2e8f0;
}

.mptso-coupon-message {
    margin-top: 6px;
    font-size: 12px;
}

.mptso-error {
    color: #ef4444;
}

/* Applied Coupons */
.mptso-applied-coupons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.mptso-coupon-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border: 1px solid #6ee7b7;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #065f46;
    animation: mptso-fadeIn 0.3s ease;
}

.mptso-coupon-tag .mptso-coupon-tag-icon {
    font-size: 14px;
    color: #10b981;
}

.mptso-coupon-tag .mptso-coupon-tag-code {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mptso-coupon-tag .mptso-coupon-tag-value {
    font-size: 11px;
    color: #047857;
    opacity: 0.8;
}

.mptso-coupon-tag .mptso-coupon-tag-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    padding: 0;
    margin-left: 2px;
    border: none;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1;
}

.mptso-coupon-tag .mptso-coupon-tag-remove:hover {
    background: #ef4444;
    color: #fff;
    transform: scale(1.15);
}

@keyframes mptso-fadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Totals */
.mptso-summary-totals {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mptso-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 13.5px;
    color: #64748b;
}

.mptso-total-row.discount {
    color: #059669;
}

.mptso-total-row.grand-total {
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
    padding-top: 10px;
    border-top: 1.5px dashed #cbd5e1;
}

/* ====== SÖZLEŞME VE ONAY KUTULARI (TERMS & CONDITIONS) ====== */
.mptso-checkbox-row {
    margin-bottom: 20px;
}

.mptso-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 13.5px;
    line-height: 1.55;
    color: #334155;
}

.mptso-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: #10b981;
}

.mptso-cb-text {
    font-size: 13.5px;
    color: #334155;
    font-weight: 500;
}

.mptso-cb-text a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.15s ease;
}

.mptso-cb-text a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* ====== SUBMIT & PLACE ORDER BUTTON ====== */
.mptso-submit-wrapper {
    margin-top: 4px;
}

.mptso-btn-place-order {
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    color: #ffffff;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
    transition: all 0.25s ease;
}

.mptso-btn-place-order:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
    transform: translateY(-1px);
}

.mptso-btn-place-order:active {
    transform: translateY(0);
}

.mptso-btn-place-order.loading {
    opacity: 0.8;
    cursor: not-allowed;
}

.mptso-error-alert {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mptso-trust-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 16px;
    font-size: 11.5px;
    color: #94a3b8;
}

.mptso-trust-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.mptso-trust-item span.material-icons-round {
    font-size: 15px !important;
    color: #10b981;
}

/* ====== LOADER ====== */
.mptso-loader {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(4px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mptso-spinner {
    width: 44px;
    height: 44px;
    border: 4px solid #e2e8f0;
    border-top-color: #2563eb;
    border-radius: 50%;
    animation: mptso-spin 0.8s linear infinite;
}

@keyframes mptso-spin {
    to { transform: rotate(360deg); }
}

/* ====== CMS MODAL POPUP ====== */
.mptso-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.mptso-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    z-index: 100001;
    animation: mptsoFadeIn 0.2s ease;
}

.mptso-modal-dialog {
    position: relative;
    background: #ffffff;
    width: 100%;
    max-width: 680px;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    z-index: 100002;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: mptsoModalScale 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.mptso-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}

.mptso-modal-title {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
}

.mptso-modal-close {
    background: transparent;
    border: none;
    font-size: 24px;
    line-height: 1;
    color: #64748b;
    cursor: pointer;
    padding: 0 4px;
    transition: color 0.15s ease;
}

.mptso-modal-close:hover {
    color: #0f172a;
}

.mptso-modal-body {
    padding: 24px 28px;
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.7;
    color: #334155;
    background: #ffffff !important;
    flex: 1;
}

.mptso-cms-inner-content {
    background: #ffffff !important;
    color: #334155 !important;
}

.mptso-cms-inner-content .breadcrumb,
.mptso-cms-inner-content nav.breadcrumb,
.mptso-cms-inner-content h1.page-heading,
.mptso-cms-inner-content .page-header,
.mptso-cms-inner-content .page-content-header {
    display: none !important;
}

.mptso-cms-inner-content p {
    margin-bottom: 12px;
    color: #334155 !important;
}

.mptso-cms-inner-content h1,
.mptso-cms-inner-content h2,
.mptso-cms-inner-content h3,
.mptso-cms-inner-content h4 {
    color: #0f172a !important;
    margin-top: 18px;
    margin-bottom: 8px;
}

.mptso-modal-footer {
    display: flex;
    justify-content: flex-end;
    padding: 14px 24px;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
}

.mptso-btn-modal-close {
    background: #2563eb;
    color: #ffffff;
    border: none;
    padding: 9px 22px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.mptso-btn-modal-close:hover {
    background: #1d4ed8;
}

.mptso-modal-sm {
    max-width: 440px !important;
    border-radius: 14px;
}

.mptso-btn-cancel {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    padding: 10px 22px;
    font-size: 13.5px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.mptso-btn-cancel:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.mptso-btn-danger {
    background: #ef4444;
    color: #ffffff;
    border: none;
    padding: 10px 24px;
    font-size: 13.5px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.mptso-btn-danger:hover {
    background: #dc2626;
}

.mptso-modal-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
    gap: 12px;
    color: #64748b;
}

.mptso-spinner-icon {
    width: 32px;
    height: 32px;
    border: 3px solid #e2e8f0;
    border-top-color: #2563eb;
    border-radius: 50%;
    animation: mptso-spin 0.8s linear infinite;
}

@keyframes mptsoFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes mptsoModalScale {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

/* ====== RESPONSIVE (MOBİL < 992px) ====== */
@media (max-width: 992px) {
    .mptso-checkout-wrapper {
        padding: 10px 4px 40px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .mptso-grid-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .mptso-col-right {
        order: 2 !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        position: static !important;
    }
    .mptso-col-left {
        order: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
    .mptso-block {
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 10px !important;
        overflow: hidden !important;
    }
    .mptso-block-header {
        padding: 12px 14px !important;
    }
    .mptso-block-body {
        padding: 14px 12px !important;
    }
    .mptso-row {
        margin: 0 -4px 10px !important;
    }
    .mptso-col-12 {
        padding: 0 4px !important;
    }
    .mptso-col-6, .mptso-col-4 {
        width: 100% !important;
        padding: 0 4px !important;
        margin-bottom: 8px !important;
    }
    .mptso-top-banner {
        padding: 10px 12px !important;
        margin-bottom: 16px !important;
    }
    .mptso-top-banner-inner {
        flex-direction: column !important;
        gap: 6px !important;
        text-align: center !important;
    }
    .mptso-auth-tabs-wrapper {
        gap: 6px !important;
    }
    .mptso-auth-tab-btn {
        padding: 8px 4px !important;
        font-size: 12px !important;
    }
    .mptso-carrier-label {
        padding: 10px 12px !important;
        gap: 10px !important;
    }
    .mptso-carrier-logo {
        min-width: 50px !important;
        height: 32px !important;
    }
    .mptso-payment-item {
        padding: 10px 12px !important;
    }
    .mptso-summary-totals {
        padding: 12px 14px !important;
    }
    .mptso-btn-place-order {
        padding: 14px 16px !important;
        font-size: 15px !important;
    }
    .mptso-cart-product-item {
        gap: 12px !important;
        padding-bottom: 12px !important;
    }
    .mptso-prod-img-link {
        width: 58px !important;
        height: 58px !important;
    }
    .mptso-prod-name {
        font-size: 13px !important;
        line-height: 1.35 !important;
    }
    .mptso-prod-total {
        font-size: 14.5px !important;
    }
}

/* ====== BANKA HAVALESİ & ÖDEME MODALI GELİŞMİŞ STİLLERİ ====== */
.bankwire-reservation-notice {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    background: #f0fdf4 !important;
    border: 1px solid #bbf7d0 !important;
    border-left: 4px solid #16a34a !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
    margin: 14px 0 !important;
    font-size: 13px !important;
    color: #166534 !important;
    line-height: 1.45 !important;
}

.bankwire-reservation-notice i,
.bankwire-reservation-notice .material-icons {
    font-size: 20px !important;
    color: #16a34a !important;
    flex-shrink: 0 !important;
}

.bankwire-info-wrapper {
    margin-top: 14px !important;
    margin-bottom: 8px !important;
}

.bankwire-custom-btn,
a.bankwire-custom-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: #15803d !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    padding: 10px 20px !important;
    border-radius: 8px !important;
    border: none !important;
    text-decoration: none !important;
    box-shadow: 0 2px 6px rgba(21, 128, 61, 0.25) !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
}

.bankwire-custom-btn:hover,
a.bankwire-custom-btn:hover {
    background: #166534 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(21, 128, 61, 0.35) !important;
    transform: translateY(-1px) !important;
}

.bankwire-custom-btn i,
.bankwire-custom-btn .material-icons {
    font-size: 18px !important;
    color: #ffffff !important;
}

/* Modal Z-Index ve Stacking Context Düzeltmeleri */
#bankwire-modal,
.modal#bankwire-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 1000000 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    padding: 20px !important;
    background: rgba(15, 23, 42, 0.65) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    box-sizing: border-box !important;
}

#bankwire-modal:not(.show):not([style*="display: block"]):not([style*="display: flex"]) {
    display: none !important;
}

#bankwire-modal.show,
#bankwire-modal[style*="display: block"],
#bankwire-modal[style*="display: flex"] {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#bankwire-modal .modal-dialog {
    position: relative !important;
    width: 100% !important;
    max-width: 560px !important;
    margin: auto !important;
    z-index: 1000002 !important;
    transform: none !important;
}

#bankwire-modal .modal-content {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: none !important;
    border-radius: 16px !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.05) !important;
    overflow: hidden !important;
    width: 100% !important;
    position: relative !important;
}

#bankwire-modal .modal-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 16px 20px !important;
    background: #f8fafc !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

#bankwire-modal .mptso-modal-title-wrapper {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

#bankwire-modal .mptso-modal-icon-badge {
    width: 40px !important;
    height: 40px !important;
    border-radius: 10px !important;
    background: #eff6ff !important;
    border: 1px solid #dbeafe !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

#bankwire-modal .mptso-modal-icon-badge .material-icons {
    font-size: 22px !important;
    color: #2563eb !important;
}

#bankwire-modal .modal-header h3,
#bankwire-modal .modal-header .modal-title {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 !important;
    line-height: 1.25 !important;
}

#bankwire-modal .mptso-modal-subtitle {
    font-size: 12px !important;
    color: #64748b !important;
    margin: 2px 0 0 0 !important;
    font-weight: 500 !important;
}

#bankwire-modal .modal-header .close,
#bankwire-modal .modal-header button.close {
    background: transparent !important;
    border: none !important;
    font-size: 24px !important;
    line-height: 1 !important;
    color: #94a3b8 !important;
    cursor: pointer !important;
    padding: 6px 10px !important;
    border-radius: 8px !important;
    opacity: 1 !important;
    margin: 0 !important;
    transition: all 0.15s ease !important;
}

#bankwire-modal .modal-header .close:hover,
#bankwire-modal .modal-header button.close:hover {
    color: #0f172a !important;
    background: #e2e8f0 !important;
}

#bankwire-modal .modal-body {
    padding: 20px !important;
    background: #ffffff !important;
    color: #334155 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

/* Tutar Kartı */
.mptso-bank-amount-card {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%) !important;
    border: 1px solid #bbf7d0 !important;
    border-radius: 12px !important;
    padding: 14px 18px !important;
    margin-bottom: 14px !important;
}

.mptso-bank-amount-info {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: #166534 !important;
}

.mptso-bank-amount-info .material-icons {
    font-size: 22px !important;
    color: #15803d !important;
}

.mptso-bank-amount-label {
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.mptso-bank-amount-value {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #15803d !important;
    letter-spacing: -0.5px !important;
}

/* Banka & Hesap Sahibi Grid */
.mptso-bank-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
    margin-bottom: 14px !important;
}

@media (max-width: 520px) {
    .mptso-bank-grid {
        grid-template-columns: 1fr !important;
    }
}

.mptso-bank-card {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 12px 14px !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    min-height: 72px !important;
    transition: border-color 0.15s ease !important;
}

.mptso-bank-card:hover {
    border-color: #cbd5e1 !important;
}

.mptso-bank-card-icon {
    width: 36px !important;
    height: 36px !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #2563eb !important;
    flex-shrink: 0 !important;
    margin-top: 2px !important;
}

.mptso-bank-card-icon .material-icons {
    font-size: 20px !important;
}

.mptso-bank-card-content {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

.mptso-bank-card-label {
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #64748b !important;
}

.mptso-bank-card-val {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin-top: 3px !important;
    white-space: normal !important;
    word-break: break-word !important;
    line-height: 1.4 !important;
    overflow: visible !important;
    text-overflow: clip !important;
}

/* IBAN / Hesap Numarası Özel Kartı */
.mptso-bank-iban-box {
    background: #f8fafc !important;
    border: 1.5px dashed #cbd5e1 !important;
    border-radius: 12px !important;
    padding: 14px 16px !important;
    margin-bottom: 14px !important;
}

.mptso-bank-iban-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 8px !important;
}

.mptso-bank-iban-title {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #64748b !important;
}

.mptso-bank-iban-title .material-icons {
    font-size: 16px !important;
    color: #64748b !important;
}

.mptso-copy-iban-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    background: #2563eb !important;
    color: #ffffff !important;
    border: none !important;
    padding: 5px 12px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.mptso-copy-iban-btn:hover {
    background: #1d4ed8 !important;
    transform: translateY(-1px) !important;
}

.mptso-copy-iban-btn .material-icons {
    font-size: 14px !important;
}

.mptso-copy-iban-btn.copied {
    background: #15803d !important;
}

.mptso-bank-iban-val {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    letter-spacing: 0.8px !important;
    word-break: break-all !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
    user-select: all !important;
}

/* Bilgilendirme Kutusu */
#bankwire-modal .bankwire-custom-text-box {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    margin-top: 10px !important;
    padding: 12px 14px !important;
    background: #eff6ff !important;
    border-left: 4px solid #3b82f6 !important;
    border-radius: 0 8px 8px 0 !important;
    font-size: 13px !important;
    color: #1e40af !important;
    line-height: 1.5 !important;
}

#bankwire-modal .bankwire-custom-text-box .material-icons {
    font-size: 20px !important;
    color: #2563eb !important;
    flex-shrink: 0 !important;
    margin-top: 1px !important;
}

#bankwire-modal .bankwire-custom-text-inner {
    flex: 1 1 auto !important;
}

#bankwire-modal .bankwire-custom-text-inner p {
    margin: 0 !important;
    color: inherit !important;
}

/* Modal Footer */
.mptso-bankwire-modal-footer {
    display: flex !important;
    justify-content: flex-end !important;
    padding: 14px 20px !important;
    background: #f8fafc !important;
    border-top: 1px solid #e2e8f0 !important;
}

.mptso-bankwire-modal-footer .mptso-modal-btn-confirm {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #2563eb !important;
    color: #ffffff !important;
    border: none !important;
    padding: 10px 22px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25) !important;
    transition: all 0.2s ease !important;
}

.mptso-bankwire-modal-footer .mptso-modal-btn-confirm:hover {
    background: #1d4ed8 !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35) !important;
    transform: translateY(-1px) !important;
}

.mptso-bankwire-modal-footer .mptso-modal-btn-confirm .material-icons {
    font-size: 18px !important;
}

#bankwire-modal .modal-backdrop,
.modal-backdrop.fade.show,
#mptsoBankwireBackdrop {
    z-index: 999998 !important;
    background: rgba(15, 23, 42, 0.65) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
}

