/* tt-jeton - Ödeme Sayfası Stili */
/* Açık tema - Mevcut site tasarımına uygun */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
    min-height: 100vh;
    line-height: 1.6;
}

/* Top Bar */
.top-bar {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    cursor: pointer;
}

.logo-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1e293b;
}

.logo-text span {
    color: #f43f5e;
}

/* Page Logo Responsive */
.page-logo {
    height: 120px; /* Desktop */
}

@media (max-width: 768px) {
    .page-logo {
        height: 100px; /* Mobil */
    }
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.nav-links a:hover {
    color: #f43f5e;
    background-color: #fef2f2;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Page Header */
.page-header {
    text-align: center;
    padding: 2rem 0;
}

.page-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1e293b;
}

.page-title span {
    color: #f43f5e;
}

/* Checkout Grid */
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }
}

/* Cards */
.card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.2s ease;
}

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

.card-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.card-title i {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f43f5e 0%, #ec4899 100%);
    color: #ffffff;
    border-radius: 0.5rem;
    font-size: 1rem;
}

/* User Profile */
.user-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
}

.user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    flex-shrink: 0;
}

.user-info {
    flex: 1;
    min-width: 0;
}

.username {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-label {
    font-size: 0.875rem;
    color: #64748b;
}

/* Order Items */
.order-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 0.75rem;
}

.order-item:last-child {
    margin-bottom: 0;
}

.order-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.order-item-name {
    font-weight: 600;
    color: #1e293b;
}

.order-item-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #f43f5e;
}

.order-item-details {
    font-size: 0.875rem;
    color: #64748b;
}

/* Order Summary */
.order-summary {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1rem;
    margin-top: 1rem;
}

.order-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.order-summary-row:last-child {
    border-bottom: none;
    padding-top: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.order-summary-row:last-child .order-summary-value {
    color: #f43f5e;
    font-size: 1.5rem;
}

.order-summary-value {
    font-weight: 600;
    color: #1e293b;
}

/* Payment Methods */
.payment-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.payment-method {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1.25rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.payment-method:hover {
    border-color: #f43f5e;
    background: #fff1f2;
}

.payment-method.active {
    border-color: #f43f5e;
    background: #fff1f2;
}

.payment-method.active::after {
    content: '✓';
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 20px;
    height: 20px;
    background: #f43f5e;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.payment-method-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #f43f5e;
}

.payment-method-name {
    font-weight: 600;
    color: #1e293b;
    font-size: 0.875rem;
}

.min-badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background: #fef3c7;
    color: #d97706;
    font-size: 0.625rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-weight: 600;
}

/* Form Elements */
.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    color: #1e293b;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: #f43f5e;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.1);
}

.form-input::placeholder {
    color: #94a3b8;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
/* SKT ve CVV mobilde de yan yana (kullanıcı isteği) */

/* Card Label Container */
.card-label-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.accepted-cards {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
    align-items: center;
}

.accepted-cards img {
    height: 20px;
    max-width: 32px;
    opacity: 0.7;
    transition: all 0.2s ease;
    object-fit: contain;
}

.accepted-cards img:hover {
    opacity: 1;
}

/* Responsive for accepted cards */
@media (max-width: 768px) {
    .accepted-cards img {
        height: 16px;
        max-width: 26px;
    }
}

@media (max-width: 480px) {
    .accepted-cards img {
        height: 14px;
        max-width: 22px;
    }
    
    .accepted-cards {
        gap: 0.25rem;
    }
}

/* Info Row (Bank Details) */
.info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 0.875rem 1rem;
    margin-bottom: 0.75rem;
}

.info-content {
    flex: 1;
}

.info-content span {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 0.25rem;
}

.info-content strong {
    color: #1e293b;
    font-weight: 600;
}

.copy-btn {
    background: transparent;
    border: none;
    color: #f43f5e;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.copy-btn:hover {
    background: #fff1f2;
}

.copy-text {
    display: inline;
}

@media (max-width: 640px) {
    .copy-text {
        display: none;
    }
}

/* File Upload */
.file-upload-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border: 2px dashed #e2e8f0;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.file-upload-label:hover {
    border-color: #f43f5e;
    background: #fff1f2;
}

.file-upload-btn {
    background: linear-gradient(135deg, #f43f5e 0%, #ec4899 100%);
    color: white;
    padding: 0.625rem 1rem;
    border-radius: 0.375rem;
    font-weight: 600;
    font-size: 0.875rem;
    white-space: nowrap;
}

.file-name {
    color: #64748b;
    font-size: 0.875rem;
}

/* Checkbox Group */
.checkbox-group {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    cursor: pointer;
    margin-bottom: 0.5rem;
    transition: all 0.2s ease;
}

.checkbox-item:hover {
    border-color: #f43f5e;
}

.checkbox-item input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.checkbox-item input[type="checkbox"]:checked + .checkbox-custom {
    background: linear-gradient(135deg, #f43f5e 0%, #ec4899 100%);
    border-color: #f43f5e;
}

.checkbox-item input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
}

.checkbox-label {
    font-size: 0.875rem;
    color: #374151;
}

.checkbox-label a {
    color: #f43f5e;
    text-decoration: underline;
}

.masterpass-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.masterpass-label img {
    height: 20px;
}

/* Alert */
.alert {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.alert-info {
    background: #ecfdf5;
    border: 1px solid #10b981;
    color: #065f46;
}

/* Primary Button */
.btn-primary {
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #f43f5e 0%, #ec4899 100%);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 63, 94, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Loader */
.loader {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Hidden */
.hidden {
    display: none !important;
}

/* Footer */
footer {
    background: #1e293b;
    padding: 1.5rem;
    text-align: center;
    margin-top: 2rem;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* Toast Notifications */
.toast {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #f43f5e;
    border-radius: 0.75rem;
    padding: 1rem 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateX(120%);
    transition: transform 0.3s ease;
    z-index: 1000;
    max-width: 320px;
}

.toast.show {
    transform: translateX(0);
}

.toast-title {
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.toast-desc {
    font-size: 0.875rem;
    color: #64748b;
}

/* Responsive */
@media (max-width: 768px) {
    .top-bar {
        padding: 1rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .page-title {
        font-size: 1.5rem;
    }
    
    .card {
        padding: 1rem;
    }
    
    .user-avatar {
        width: 50px;
        height: 50px;
    }
    
    .username {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    /* Payment methods stay side by side on mobile */
    .payment-methods {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
    
    .payment-method {
        padding: 0.75rem 0.5rem;
    }
    
    .payment-method-icon {
        font-size: 1.5rem;
        margin-bottom: 0.25rem;
    }
    
    .payment-method-name {
        font-size: 0.75rem;
    }
    
    .user-profile {
        flex-direction: row;
        text-align: left;
    }
    
    .user-avatar {
        width: 45px;
        height: 45px;
    }
    
    .username {
        font-size: 0.9rem;
    }
    
    .order-item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}


/* ==================== BAŞARILI SAYFASI ==================== */
.success-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem;
}

.success-icon {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    animation: successPop 0.6s ease;
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.3);
}
.success-icon i { font-size: 4rem; color: white; }
@keyframes successPop {
    0% { transform: scale(0) rotate(-180deg); opacity: 0; }
    50% { transform: scale(1.2) rotate(0deg); }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}
.success-title { font-size: 2.25rem; font-weight: 800; color: #1e293b; margin-bottom: 1rem; }
.success-subtitle { font-size: 1.25rem; color: #10b981; font-weight: 600; margin-bottom: 0.5rem; }
.success-message { font-size: 1.125rem; color: #64748b; margin-bottom: 2rem; line-height: 1.8; }
.order-details { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 1rem; padding: 1.5rem; text-align: left; margin-bottom: 2rem; }
.order-detail-row { display: flex; justify-content: space-between; padding: 0.75rem 0; border-bottom: 1px solid #e2e8f0; }
.order-detail-row:last-child { border-bottom: none; padding-top: 1rem; font-size: 1.125rem; }
.order-detail-label { color: #64748b; }
.order-detail-value { font-weight: 600; color: #1e293b; }
.order-detail-value.success { color: #10b981; }
.order-detail-value.price { color: #f43f5e; font-size: 1.25rem; }
.info-box { background: #ecfdf5; border: 1px solid #10b981; border-radius: 0.75rem; padding: 1.25rem; margin-bottom: 2rem; }
.info-box i { color: #10b981; margin-right: 0.5rem; font-size: 1.25rem; }
.info-box p { color: #065f46; font-size: 0.95rem; margin: 0; line-height: 1.6; }
.btn-home { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 1rem 2rem; background: linear-gradient(135deg, #f43f5e 0%, #ec4899 100%); color: white; text-decoration: none; border-radius: 0.75rem; font-weight: 700; font-size: 1rem; transition: all 0.2s ease; margin-right: 1rem; }
.btn-home:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(244, 63, 94, 0.4); }
.btn-secondary { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 1rem 2rem; background: transparent; border: 2px solid #e2e8f0; color: #64748b; text-decoration: none; border-radius: 0.75rem; font-weight: 600; font-size: 1rem; transition: all 0.2s ease; }
.btn-secondary:hover { border-color: #f43f5e; color: #f43f5e; }
.steps { display: flex; justify-content: center; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.step { display: flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1rem; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 0.5rem; font-size: 0.875rem; color: #64748b; }
.step.completed { background: #ecfdf5; border-color: #10b981; color: #10b981; }
.step.active .step-number { background: #f43f5e; color: white; }
.step-number { width: 24px; height: 24px; background: #e2e8f0; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.75rem; }
.step.completed .step-number { background: #10b981; color: white; }
.confetti { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; overflow: hidden; z-index: 1000; }
.confetti-piece { position: absolute; width: 10px; height: 10px; opacity: 0; animation: confettiFall 3s ease-out forwards; }
@keyframes confettiFall {
    0% { opacity: 1; transform: translateY(-100px) rotate(0deg); }
    100% { opacity: 0; transform: translateY(100vh) rotate(720deg); }
}
.buttons-container { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; }
@media (max-width: 480px) {
    .buttons-container { flex-direction: column; }
    .btn-home, .btn-secondary { width: 100%; margin-right: 0; }
}

/* ==================== 3D SECURE SAYFASI ==================== */
.tds-page { background: #f3f5f8; min-height: 100vh; display: flex; justify-content: center; padding: 30px 10px; }
.tds-container { width: 390px; max-width: 100%; background: #fff; border-radius: 18px; padding: 22px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08); height: fit-content; }
.tds-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; padding-bottom: 10px; }
.tds-header-left { display: flex; align-items: center; }
.tds-param-logo { height: 24px; width: auto; object-fit: contain; }
.tds-header-right { display: flex; align-items: center; gap: 10px; }
.tds-mastercard { display: flex; position: relative; width: 48px; height: 30px; }
.tds-mc-circle { width: 30px; height: 30px; border-radius: 50%; position: absolute; }
.tds-mc-orange { background-color: #ff5f00; left: 0; z-index: 1; }
.tds-mc-red { background-color: #eb001b; left: 18px; z-index: 0; opacity: 0.85; }
.tds-id-check-title { font-size: 18px; font-weight: 600; color: #2f2f2f; }
.tds-card { background: #f7f8fb; border-radius: 16px; padding: 20px; margin-bottom: 18px; }
.tds-row { display: flex; margin-bottom: 12px; font-size: 14px; }
.tds-row:last-child { margin-bottom: 0; }
.tds-label { width: 110px; text-align: right; padding-right: 10px; font-weight: 600; color: #2f2f2f; flex-shrink: 0; }
.tds-value { flex: 1; color: #7a8a97; font-weight: 500; white-space: nowrap; }
.tds-verification-card { background: #fff; border: 1px solid #eee; }
.tds-info { font-size: 14px; color: #777; margin-bottom: 12px; line-height: 1.5; }
.tds-info strong { color: #2f2f2f; font-weight: 700; }
.tds-ref { font-size: 14px; margin-bottom: 16px; color: #555; line-height: 1.5; }
.tds-ref strong { color: #2f2f2f; font-weight: 700; }
.tds-input { width: 100%; padding: 15px; border-radius: 14px; border: 1px solid #ddd; font-size: 15px; margin-bottom: 16px; outline: none; transition: border-color 0.2s; text-align: center; }
.tds-input:focus { border-color: #4b148b; }
.tds-input::placeholder { color: #aaa; }
.tds-primary { width: 100%; padding: 16px; border-radius: 16px; border: none; background: #4b148b; color: #fff; font-size: 16px; font-weight: 700; cursor: pointer; transition: background 0.2s; display: flex; align-items: center; justify-content: center; }
.tds-primary:hover { background: #3d1073; }
.tds-primary:active { background: #2f0c5a; }
.tds-primary:disabled { opacity: 0.7; cursor: not-allowed; }
.tds-btn-spinner { width: 20px; height: 20px; border: 3px solid rgba(255,255,255,0.3); border-top: 3px solid #fff; border-radius: 50%; animation: spin 1s linear infinite; }
.tds-timer { text-align: center; margin-top: 14px; color: #555; font-weight: 500; font-size: 14px; }
.tds-timer-value { color: #6a2bbd; font-weight: 700; }
.tds-footer-actions { display: flex; gap: 12px; margin-top: 8px; }
.tds-footer-actions button { flex: 1; padding: 14px; border-radius: 14px; border: none; background: #eef1f4; font-size: 14px; font-weight: 500; color: #333; cursor: pointer; transition: background 0.2s; }
.tds-footer-actions button:hover { background: #e0e4e8; }
.tds-otp-error { display: none; text-align: center; margin-bottom: 12px; font-size: 14px; }
.tds-otp-error.show { display: block; }
.tds-otp-error .tds-err-strong { color: #d32f2f; font-weight: 700; display: block; margin-bottom: 2px; }
.tds-otp-error .tds-err-tries { color: #d32f2f; font-weight: 700; }
.tds-wait-wrap { position: fixed; inset: 0; display: grid; place-items: center; padding: 24px; background: #fff; z-index: 99; }
.tds-wait-inner { text-align: center; }
.tds-spinner-loading { border: 4px solid #f3f3f3; border-top: 4px solid #4b148b; border-radius: 50%; width: 48px; height: 48px; animation: spin 1s linear infinite; margin: 0 auto 12px; }
.tds-hidden { display: none !important; }

/* ==================== SPA Payment Page Container ==================== */
.payment-spa-page .container { padding-top: 1rem; }

/* ==================== ÖDEME SAYFASI - TEK KUTU FLAT YAPI ==================== */
.odeme-container { padding-bottom: 3rem; }

.odeme-flat-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.5rem;
    max-width: 720px;
    margin: 1.5rem auto;
}

.odeme-section { padding: 1.25rem 0; border-bottom: 1px solid #f1f5f9; }
.odeme-section:first-child { padding-top: 0; }
.odeme-section:last-child { border-bottom: none; padding-bottom: 0; }

.odeme-section-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0 0 1rem 0;
}
.odeme-section-title i {
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #f43f5e 0%, #ec4899 100%);
    color: #ffffff;
    border-radius: 0.5rem;
    font-size: 0.9rem;
}

/* Form bloğu — açıldığında ekstra arka plan yok */
.payment-form-block {
    margin-top: 1.25rem;
    animation: slideDown 0.25s ease;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Havale bilgi bloğu — kutu içinde kutu yerine vurgulu kenarlık */
.bank-info-block {
    background: #f8fafc;
    border-left: 3px solid #f43f5e;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1.25rem;
}
.bank-info-block .info-row {
    background: transparent;
    border: none;
    border-bottom: 1px solid #e2e8f0;
    border-radius: 0;
    padding: 0.65rem 0;
    margin-bottom: 0;
}
.bank-info-block .info-row:last-child { border-bottom: none; }
.bank-info-title {
    font-weight: 700;
    color: #1e293b;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

/* Mobile - daha az padding, tek kutu sıkışmasın */
@media (max-width: 768px) {
    .odeme-flat-card {
        padding: 1rem;
        margin: 1rem auto;
        border-radius: 0.75rem;
    }
    .odeme-section { padding: 1rem 0; }
    .page-header {
        padding: 1rem 0 !important;
    }
}

@media (max-width: 480px) {
    .odeme-flat-card {
        margin: 0.5rem;
        padding: 0.875rem;
    }
    .odeme-section-title { font-size: 0.98rem; }
    .odeme-section-title i { width: 28px; height: 28px; font-size: 0.85rem; }

    /* SKT ve CVV mobilde yan yana kalsın */
    .form-row {
        grid-template-columns: 1fr 1fr !important;
        gap: 0.625rem;
    }

    /* Havale bilgi satırları mobilde dikey */
    .bank-info-block .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .bank-info-block .copy-btn { width: 100%; }
}

/* Submit button disabled state */
#submitBtn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #94a3b8 !important;
}

/* ============================================================
   ÖDEME SAYFASI - MOBİL İÇİN İÇ İÇE KUTU YAPISI NEUTRALİZE
   ============================================================ */

/* body.payment-mode iken dış content-card görünmez olsun */
body.payment-mode #spaPageContent {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Payment sayfasında .page-section padding'ini azalt */
body.payment-mode .page-section {
    padding: 1rem 0 2rem !important;
    min-height: auto !important;
}

/* SPA back link'i tamamen gizle payment mode'da */
body.payment-mode .spa-back-link {
    display: none !important;
}

/* Container padding mobilde küçülsün */
body.payment-mode .container {
    max-width: 100% !important;
}

@media (max-width: 768px) {
    body.payment-mode .container {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
}

@media (max-width: 480px) {
    body.payment-mode .container {
        padding-left: 0.25rem !important;
        padding-right: 0.25rem !important;
    }
}

/* Payment akışında back-link gizli, üst container padding'ini azalt */
.payment-spa-page { width: 100%; }

/* Container padding mobilde küçülsün */
@media (max-width: 768px) {
    .payment-spa-page .container,
    .payment-spa-page .odeme-container {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }

    .odeme-flat-card {
        padding: 0.875rem;
        margin: 0.5rem auto;
        border-radius: 0.75rem;
    }
}

@media (max-width: 480px) {
    .payment-spa-page .container,
    .payment-spa-page .odeme-container {
        padding-left: 0.25rem !important;
        padding-right: 0.25rem !important;
    }

    .odeme-flat-card {
        padding: 0.75rem;
        margin: 0.25rem;
        border-radius: 0.5rem;
    }

    .odeme-section { padding: 0.75rem 0; }

    /* Page header'ı mobilde sıkıştır */
    .payment-spa-page .page-header {
        padding: 0.75rem 0 !important;
        margin-bottom: 0.5rem;
    }
    .payment-spa-page .page-title {
        font-size: 1.25rem !important;
    }
}

/* IBAN ve uzun metinler MUTLAKA wrap olsun (mobil overflow fix) */
.bank-info-block .info-content strong,
.bank-info-block strong {
    word-break: break-all;
    overflow-wrap: anywhere;
    display: inline-block;
    max-width: 100%;
}

.bank-info-block .info-row {
    flex-wrap: wrap;
}
.bank-info-block .info-content {
    min-width: 0;
    width: 100%;
}

/* Form input'lar mobilde daha kompakt */
@media (max-width: 480px) {
    .form-input {
        padding: 0.75rem 0.875rem !important;
        font-size: 0.95rem !important;
    }
    .form-label {
        font-size: 0.85rem !important;
        margin-bottom: 0.35rem !important;
    }

    /* SKT label uzun olduğunda 2 satıra düşmesin */
    .form-row .form-label {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 0.8rem !important;
    }

    /* Submit butonu */
    .btn-primary {
        padding: 0.875rem 1rem !important;
        font-size: 0.95rem !important;
    }
}

/* Tüm SPA içeriğinde body'ye horizontal overflow gelmesin */
html, body { overflow-x: hidden; }
.payment-spa-page * { max-width: 100%; box-sizing: border-box; }

/* ============================================================
   TELEFON +90 PREFIX (Mobile-safe)
   ============================================================ */
.phone-input-wrapper {
    position: relative;
    width: 100%;
}

.phone-prefix {
    position: absolute;
    left: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-weight: 600;
    font-size: 1rem;
    user-select: none;
    pointer-events: none;
    z-index: 2;
    /* Sağında ayırıcı */
    padding-right: 0.5rem;
    border-right: 1px solid #e2e8f0;
    line-height: 1;
}

/* +90 sonrası input padding-left mutlaka korunsun (mobile CSS override etmesin) */
.phone-input,
.phone-input-wrapper .form-input.phone-input {
    padding-left: 3.75rem !important;
}

@media (max-width: 480px) {
    .phone-prefix {
        left: 0.75rem;
        font-size: 0.95rem;
    }
    .phone-input,
    .phone-input-wrapper .form-input.phone-input {
        padding-left: 3.5rem !important;
        padding-right: 0.875rem !important;
    }
}
