/*
 * ODEME.CSS - Ortak Ödeme Sayfası Stilleri
 * Aidat, Harç, Hizmet ve Ana Sayfa için ortak stiller
 */

/* ========================================
   GENEL FORM STİLLERİ
   ======================================== */

/* Number input spinner gizleme - Chrome, Safari, Edge, Opera */
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

/* Number input spinner gizleme - Firefox */
input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}

/* Form checkbox */
.form-check-input {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.form-check-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

/* ========================================
   SONUÇ KARTI STİLLERİ
   ======================================== */

.sonuc-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.sonuc-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e9ecef;
    padding: 20px 24px;
}

.sonuc-header h5 {
    font-weight: 600;
    color: #212529;
    margin: 0;
    font-size: 18px;
}

/* ========================================
   TAHAKKUK TABLOSU STİLLERİ
   ======================================== */

.tahakkuk-table {
    margin-bottom: 0;
}

.tahakkuk-table thead th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
    color: #6c757d;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 16px;
}

.tahakkuk-table tbody td {
    padding: 16px;
    vertical-align: middle;
    border-bottom: 1px solid #f1f3f4;
    font-size: 14px;
}

.tahakkuk-table tbody tr:hover {
    background-color: #f8f9fa;
}

.tahakkuk-table tbody tr:last-child td {
    border-bottom: none;
}

/* Seçilebilir satırlar için (Harç/Hizmet) */
.tahakkuk-table tbody tr.selectable {
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.tutar-cell {
    font-weight: 600;
    color: #0d6efd;
    font-size: 15px;
}

/* ========================================
   TOPLAM BÖLÜMÜ STİLLERİ
   ======================================== */

.toplam-section {
    background-color: #f8f9fa;
    padding: 20px 24px;
    border-top: 1px solid #e9ecef;
}

.toplam-label {
    color: #6c757d;
    font-size: 15px;
}

.toplam-tutar {
    color: #0d6efd;
    font-size: 24px;
    font-weight: 700;
}

/* ========================================
   ÖDEME KARTI STİLLERİ
   ======================================== */

.odeme-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.odeme-card .card-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 700;
    color: #1f2937;
    border-radius: 12px 12px 0 0;
}

.odeme-card .card-body {
    padding: 24px;
}

.odeme-card .form-label {
    font-weight: 500;
    color: #374151;
    font-size: 14px;
    margin-bottom: 8px;
}

.odeme-card .form-control,
.odeme-card .form-select {
    border-radius: 8px;
    border: 1px solid #dee2e6;
    padding: 10px 14px;
}

.odeme-card .form-control:focus,
.odeme-card .form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
}

/* ========================================
   BUTON STİLLERİ
   ======================================== */

.btn-odeme {
    background-color: #0d6efd;
    border: none;
    color: #ffffff;
    font-weight: 500;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.2s ease;
}

.btn-odeme:hover {
    background-color: #0b5ed7;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

.btn-yazdir {
    background-color: #6c757d;
    border: none;
    color: #ffffff;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
}

.btn-yazdir:hover {
    background-color: #5c636a;
    color: #ffffff;
}

.btn-odeme-yap {
    background-color: #198754;
    border: none;
    color: #ffffff;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    width: 100%;
}

.btn-odeme-yap:hover {
    background-color: #157347;
    color: #ffffff;
}

.btn-tum-borc {
    background-color: #e9ecef;
    border: none;
    color: #495057;
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 6px;
}

.btn-tum-borc:hover {
    background-color: #dee2e6;
    color: #212529;
}

/* Seçim butonları (Harç/Hizmet için) */
.btn-sec {
    background-color: #e9ecef;
    border: none;
    color: #495057;
    font-size: 13px;
    padding: 8px 14px;
    border-radius: 6px;
    font-weight: 500;
}

.btn-sec:hover {
    background-color: #dee2e6;
    color: #212529;
}

.btn-sec-primary {
    background-color: #e7f3ff;
    color: #0d6efd;
}

.btn-sec-primary:hover {
    background-color: #cfe2ff;
    color: #0d6efd;
}

.btn-sorgula {
    height: 50px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
}

/* ========================================
   ALERT STİLLERİ
   ======================================== */

.alert-kayit-yok {
    background-color: #fff5f5;
    border: 1px solid #fed7d7;
    color: #c53030;
    border-radius: 8px;
    padding: 16px 20px;
}

.alert-bilgi {
    background-color: #e7f3ff;
    border: 1px solid #b6d4fe;
    color: #084298;
    border-radius: 8px;
    padding: 16px 20px;
}

.alert-uyari {
    background-color: #fff3cd;
    border: 1px solid #ffecb5;
    color: #664d03;
    border-radius: 8px;
    padding: 16px 20px;
}

/* ========================================
   BADGE STİLLERİ
   ======================================== */

.firma-badge {
    background-color: #e7f3ff;
    color: #0d6efd;
    font-size: 13px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
}

.badge-durum {
    font-size: 12px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 20px;
}

.badge-odenmedi {
    background-color: #fff3cd;
    color: #856404;
}

.badge-vadesi-geldi {
    background-color: #f8d7da;
    color: #721c24;
}

.badge-vadesi-geliyor {
    background-color: #d4edda;
    color: #155724;
}

/* ========================================
   TAKSİT TABLOSU STİLLERİ
   ======================================== */

.taksit-container {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
}

.taksit-table {
    margin-bottom: 0;
    font-size: 14px;
}

.taksit-table thead th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
    color: #6c757d;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    padding: 12px 16px;
}

.taksit-table tbody td {
    padding: 12px 16px;
    vertical-align: middle;
    border-bottom: 1px solid #f1f3f4;
}

.taksit-table tbody tr:last-child td {
    border-bottom: none;
}

.taksit-table tbody tr {
    cursor: pointer;
}

.taksit-table tbody tr:hover {
    background-color: #f8f9fa;
}

.taksit-table tbody tr.selected {
    background-color: #e7f3ff;
}

.taksit-table tbody tr.selected:hover {
    background-color: #d0e7ff;
}

.taksit-table .tutar-col {
    font-weight: 600;
    color: #0d6efd;
}

.taksit-loading {
    text-align: center;
    padding: 20px;
    color: #6c757d;
}

.taksit-info {
    background-color: #e7f3ff;
    border: 1px solid #b6d4fe;
    color: #084298;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 13px;
    margin-bottom: 16px;
}

.taksit-hata {
    background-color: #fff5f5;
    border: 1px solid #fed7d7;
    color: #c53030;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 13px;
    margin-bottom: 16px;
}

/* ========================================
   ÖDENECEK TUTAR KUTUSU (Harç/Hizmet)
   ======================================== */

.odenecek-tutar-box {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 2px solid #10b981;
    border-radius: 12px;
    padding: 20px 24px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

.odenecek-tutar-box label {
    font-size: 14px;
    font-weight: 600;
    color: #047857;
    margin-bottom: 8px;
    display: block;
}

.odenecek-tutar-box h4 {
    color: #047857;
    font-weight: 700;
    font-size: 28px;
    margin: 0;
}

/* ========================================
   ANA SAYFA KART STİLLERİ (Ödeme Tipi Seçimi)
   ======================================== */

.odeme-tipi-kart {
    cursor: pointer;
    border: 2px solid #dee2e6;
    border-radius: 12px;
    padding: 20px;
    text-align: left;
    transition: all 0.2s ease;
    background-color: #ffffff;
    position: relative;
    height: 100%;
    min-height: 140px;
}

.odeme-tipi-kart:hover {
    border-color: #0d6efd;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.15);
}

.odeme-tipi-kart.selected {
    background-color: #f0f7ff;
    border-color: #0d6efd;
}

.odeme-tipi-kart .kart-ikon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.odeme-tipi-kart.selected .kart-ikon-wrapper {
    background-color: #e7f3ff;
}

.odeme-tipi-kart .kart-ikon {
    font-size: 24px;
    color: #0d6efd;
}

.odeme-tipi-kart .kart-baslik {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #212529;
}

.odeme-tipi-kart.selected .kart-baslik {
    color: #0d6efd;
}

.odeme-tipi-kart .kart-aciklama {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.4;
}

.odeme-tipi-kart .kart-checkmark {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 22px;
    color: #0d6efd;
    display: none;
}

.odeme-tipi-kart.selected .kart-checkmark {
    display: block;
}

/* ========================================
   INPUT GROUP İKON STİLLERİ
   ======================================== */

.input-group-icon {
    position: relative;
}

.input-group-icon input {
    padding-right: 45px;
    height: 50px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.input-group-icon input:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
}

.input-group-icon i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    pointer-events: none;
    font-size: 18px;
}

.bilgilendirme-metni {
    font-size: 13px;
    color: #6c757d;
    margin-top: 8px;
}

.bilgilendirme-metni i {
    margin-right: 6px;
    color: #0d6efd;
}

/* ========================================
   PRINT STİLLERİ
   ======================================== */

@media print {
    .print-page-hidden {
        display: none !important;
    }

    .print-page {
        font-size: 12px;
    }

    input {
        display: none;
    }
}

/* ========================================
   MOBİL UYUMLULUK
   ======================================== */

@media (max-width: 768px) {
    .odeme-tipi-kart {
        margin-bottom: 15px;
    }

    .toplam-tutar {
        font-size: 20px;
    }

    .tahakkuk-table thead th,
    .tahakkuk-table tbody td {
        padding: 10px 12px;
        font-size: 13px;
    }
}

/* ========================================
   WIZARD / STEPPER STİLLERİ
   ======================================== */

.wizard-container {
    margin-bottom: 30px;
}

/* Stepper - İlerleme Göstergesi */
.wizard-stepper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0 40px;
    margin-bottom: 20px;
}

.wizard-step {
    display: flex;
    align-items: center;
    position: relative;
}

.wizard-step-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #e9ecef;
    border: 2px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 20px;
    color: #6c757d;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.wizard-step-circle i {
    font-size: 22px;
}

.wizard-step.active .wizard-step-circle {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.35);
}

.wizard-step.completed .wizard-step-circle {
    background-color: #198754;
    border-color: #198754;
    color: #ffffff;
}

.wizard-step.clickable .wizard-step-circle {
    cursor: pointer;
}

.wizard-step.clickable:not(.active) .wizard-step-circle:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.wizard-step-label {
    position: absolute;
    top: 64px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 14px;
    font-weight: 500;
    color: #6c757d;
    transition: color 0.3s ease;
}

.wizard-step.active .wizard-step-label {
    color: #0d6efd;
    font-weight: 600;
}

.wizard-step.completed .wizard-step-label {
    color: #198754;
}

/* Stepper Çizgisi */
.wizard-step-line {
    width: 100px;
    height: 4px;
    background-color: #dee2e6;
    margin: 0 16px;
    transition: background-color 0.3s ease;
    border-radius: 2px;
}

.wizard-step-line.completed {
    background-color: #198754;
}

/* Aşama İçerikleri */
.wizard-content {
    position: relative;
}

.wizard-pane {
    display: none;
    opacity: 0;
}

.wizard-pane.active {
    display: block;
    animation: wizardFadeIn 0.4s ease forwards;
}

.wizard-pane.fade-out {
    display: block;
    animation: wizardFadeOut 0.25s ease forwards;
}

@keyframes wizardFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes wizardFadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-8px);
    }
}

/* Wizard Transition Overlay */
.wizard-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.wizard-transition-overlay.show {
    opacity: 1;
    visibility: visible;
}

.wizard-transition-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.wizard-transition-spinner .spinner {
    width: 36px;
    height: 36px;
    border: 3px solid #e9ecef;
    border-top-color: #0d6efd;
    border-radius: 50%;
    animation: wizardSpin 0.7s linear infinite;
}

.wizard-transition-spinner .text {
    font-size: 14px;
    color: #6c757d;
    font-weight: 500;
}

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

/* Aşama Başlıkları */
.wizard-pane-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 24px;
}

.wizard-pane-title {
    font-size: 20px;
    font-weight: 600;
    color: #212529;
    margin: 0 0 6px 0;
}

.wizard-pane-subtitle {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
}

/* Navigasyon Butonları */
.wizard-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e9ecef;
}

.wizard-navigation.end {
    justify-content: flex-end;
}

.wizard-navigation.center {
    justify-content: center;
}

.btn-wizard {
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-wizard-prev {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    border: none;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

.btn-wizard-prev:hover {
    background: linear-gradient(135deg, #5a6268 0%, #495057 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(108, 117, 125, 0.4);
}

.btn-wizard-next {
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
    border: none;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.35);
}

.btn-wizard-next:hover {
    background: linear-gradient(135deg, #0b5ed7 0%, #0a58ca 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(13, 110, 253, 0.45);
}

.btn-wizard-next:disabled {
    background: linear-gradient(135deg, #adb5bd 0%, #9ca3af 100%);
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

/* Özet Kartı */
.wizard-summary-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.wizard-summary-title {
    font-size: 15px;
    font-weight: 700;
    color: #1e40af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wizard-summary-title i {
    font-size: 18px;
    color: #3b82f6;
}

.wizard-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.wizard-summary-item:last-child {
    margin-top: 8px;
    padding-top: 14px;
    border-top: 1px solid #e2e8f0;
}

.wizard-summary-label {
    font-size: 15px;
    color: #374151;
    font-weight: 500;
}

.wizard-summary-value {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
}

.wizard-summary-value.highlight {
    color: #1d4ed8;
    font-size: 24px;
    font-weight: 700;
}

/* Unvan satırı - tam genişlik */
.wizard-summary-item.unvan-row {
    display: block;
    text-align: center;
    background: linear-gradient(135deg, #f0f7ff 0%, #e7f3ff 100%);
    margin: -4px -8px 12px -8px;
    padding: 14px 16px;
    border-radius: 8px;
}

.wizard-summary-value.unvan-full {
    font-size: 17px;
    font-weight: 700;
    color: #1e40af;
    display: block;
}

/* Wizard içi ödeme tipi kartları - daha kompakt */
.wizard-odeme-tipi-kartlar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.wizard-odeme-tipi-kartlar .odeme-tipi-kart {
    min-height: 120px;
    padding: 16px;
}

.wizard-odeme-tipi-kartlar .kart-ikon-wrapper {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
}

.wizard-odeme-tipi-kartlar .kart-ikon {
    font-size: 20px;
}

.wizard-odeme-tipi-kartlar .kart-baslik {
    font-size: 16px;
    margin-bottom: 4px;
}

.wizard-odeme-tipi-kartlar .kart-aciklama {
    font-size: 12px;
}

/* AJAX içerik fade-in */
#divBorcIcerik > *,
#divKartFormu > * {
    animation: contentFadeIn 0.35s ease forwards;
}

@keyframes contentFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Wizard */
@media (max-width: 768px) {
    .wizard-stepper {
        padding: 16px 0 44px;
    }

    .wizard-step-circle {
        width: 46px;
        height: 46px;
        font-size: 16px;
    }

    .wizard-step-line {
        width: 50px;
        margin: 0 10px;
    }

    .wizard-step-label {
        font-size: 12px;
        top: 54px;
    }

    .wizard-odeme-tipi-kartlar {
        grid-template-columns: 1fr;
    }

    .wizard-navigation {
        flex-direction: column;
        gap: 12px;
    }

    .wizard-navigation .btn-wizard {
        width: 100%;
        justify-content: center;
    }

    .btn-wizard {
        padding: 14px 24px;
    }
}

@media (max-width: 576px) {
    .wizard-step-label {
        display: none;
    }

    .wizard-step-line {
        width: 30px;
    }
}

/* ========================================
   ÖDEME BAŞARILI SAYFA STİLLERİ
   ======================================== */

.basarili-card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f8fffe 100%);
}

.basarili-header {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    padding: 40px 30px;
    text-align: center;
}

.basarili-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    animation: pulse-success 2s infinite;
}

.basarili-icon i {
    font-size: 50px;
    color: #fff;
}

@keyframes pulse-success {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.basarili-title {
    color: #fff;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 8px;
}

.basarili-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
}

.basarili-body {
    padding: 30px;
}

.odeme-detay-table {
    width: 100%;
    margin-bottom: 0;
}

.odeme-detay-table tr {
    border-bottom: 1px solid #e9ecef;
}

.odeme-detay-table tr:last-child {
    border-bottom: none;
}

.odeme-detay-table td {
    padding: 16px 8px;
    vertical-align: middle;
}

.odeme-detay-table .label-cell {
    color: #6c757d;
    font-size: 14px;
    width: 40%;
}

.odeme-detay-table .value-cell {
    font-weight: 600;
    color: #212529;
    text-align: right;
}

.odeme-detay-table .tutar-row .value-cell {
    color: #28a745;
    font-size: 24px;
}

.basarili-buttons {
    display: flex;
    gap: 16px;
    padding: 0 30px 30px;
}

.btn-ana-sayfa {
    flex: 1;
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    color: #495057;
    padding: 16px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-ana-sayfa:hover {
    background: #e9ecef;
    border-color: #adb5bd;
    color: #212529;
}

.btn-makbuz {
    flex: 1;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border: none;
    color: #fff;
    padding: 16px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.btn-makbuz:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
    color: #fff;
}

.basarili-info-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e8f5e9;
    color: #2e7d32;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    margin-top: 20px;
}

.basarili-info-badge i {
    font-size: 18px;
}

@media (max-width: 576px) {
    .basarili-buttons {
        flex-direction: column;
    }

    .basarili-header {
        padding: 30px 20px;
    }

    .basarili-body {
        padding: 20px;
    }

    .basarili-buttons {
        padding: 0 20px 20px;
    }
}

/* ========================================
   CLIENT-SIDE PAGINATION STİLLERİ
   ======================================== */

.table-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
    flex-wrap: wrap;
    gap: 12px;
}

.pagination-info {
    font-size: 14px;
    color: #6c757d;
}

.pagination-info strong {
    color: #212529;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pagination-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid #dee2e6;
    background-color: #ffffff;
    color: #495057;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-btn:hover:not(:disabled):not(.active) {
    background-color: #e9ecef;
    border-color: #ced4da;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-btn.active {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: #ffffff;
}

.pagination-btn i {
    font-size: 12px;
}

.pagination-ellipsis {
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 14px;
}

/* Sayfa boyutu seçici */
.pagination-page-size {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-page-size label {
    font-size: 13px;
    color: #6c757d;
    margin: 0;
}

.pagination-page-size select {
    padding: 6px 10px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 13px;
    background-color: #ffffff;
    cursor: pointer;
}

/* Responsive pagination */
@media (max-width: 576px) {
    .table-pagination {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .pagination-controls {
        justify-content: center;
    }

    .pagination-btn {
        min-width: 32px;
        height: 32px;
        font-size: 13px;
    }

    .pagination-page-size {
        justify-content: center;
    }
}

