/* ==========================================================================
   GENEL MODAL VE OVERLAY STİLLERİ
   VOGE 2026 DARK THEME - Koyu tema uyumlu tasarım
   ========================================================================== */

#basit-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.25) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    z-index: 999998;
    animation: fadeIn 0.3s ease-out;
}
.basit-hesap-btn {
    background: rgba(255,255,255,0.06) !important;
    color: #fff !important;
    padding: 12px 32px !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    cursor: pointer !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    font-family: 'Oswald', sans-serif !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin-left: 0;
    transition: all 0.3s ease !important;
}
.basit-hesap-btn:hover { 
    background: rgba(255, 193, 7, 0.1) !important;
    border-color: rgba(255, 193, 7, 0.3) !important;
    color: #ffc107 !important;
    transform: translateY(-2px) !important;
}
#basit-modal {
    position: relative;
    width: 90%;
    max-width: 850px;
    z-index: 999999;
    animation: slideIn 0.4s ease-out;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    background: transparent;
    overflow: hidden;
}

#basit-hesap-modal { position: fixed; inset:0; z-index: 10000; }
#basit-hesap-modal .bhm-overlay { position:absolute; inset:0; background:transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
#basit-hesap-modal .bhm-modal {
  position: relative; max-width: 420px; width: 90%; margin: 10vh auto; 
  background: rgba(0, 0, 0, 0.55);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
  overflow: hidden; 
  font-family: 'Oswald', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
#basit-hesap-modal .bhm-header { 
    padding:14px 20px; 
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15) 0%, rgba(255, 193, 7, 0.05) 100%);
    border-bottom: 1px solid rgba(255, 193, 7, 0.2);
    color:#fff; 
    display:flex; 
    align-items:center; 
    justify-content:space-between; 
}
#basit-hesap-modal .bhm-header h4 {
    color: #ffc107;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}
#basit-hesap-modal .bhm-header .bhm-close { background:transparent; border:none; color:#fff; font-size:20px; cursor:pointer; opacity: 0.7; transition: all 0.2s; }
#basit-hesap-modal .bhm-header .bhm-close:hover { opacity: 1; color: #ffc107; }
#basit-hesap-modal .bhm-body { padding:20px; font-size:14px; color:#e0e0e0; background: rgba(29, 29, 31, 0.8); }
#basit-hesap-modal .bhm-row { display:flex; align-items:center; justify-content:space-between; margin:10px 0; gap:10px; }
#basit-hesap-modal .bhm-row label { font-weight:500; color:#b0b0b0; }
#basit-hesap-modal .bhm-row.bhm-total label { font-size:16px; color: #fff; }
#basit-hesap-modal .bhm-row.bhm-total #bhm_toplam { font-weight:700; color:#ffc107; font-size: 18px; }
#basit-hesap-modal select { 
    width: 140px; 
    padding:8px 12px; 
    border:1px solid rgba(255,255,255,0.15); 
    border-radius:8px; 
    background: rgba(0,0,0,0.4);
    color: #fff;
    font-family: 'Oswald', sans-serif;
}
#basit-hesap-modal select:focus {
    border-color: #ffc107;
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 193, 7, 0.2);
}
#basit-hesap-modal .bhm-footer { 
    padding:16px 20px; 
    background: rgba(0,0,0,0.3);
    border-top: 1px solid rgba(255,255,255,0.08);
    display:flex; 
    justify-content:flex-end; 
    gap:10px; 
}
#basit-hesap-modal .btn-secondary { 
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
    color:#000; 
    border:none; 
    padding:10px 18px; 
    border-radius:8px; 
    cursor:pointer;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}
#basit-hesap-modal .btn-secondary:hover { 
    background: linear-gradient(135deg, #e0a800 0%, #c79100 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
}

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

@keyframes slideIn {
    from { transform: translateY(-12px) scale(.98); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

#basit-modal,
#basit-modal .modal,
#basit-modal .modal-dialog,
#basit-modal .modal-content {
    background: rgba(0, 0, 0, 0.55) !important;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3) !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 100%;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    max-height: 90vh;
}

/* ==========================================================================
   MODAL HEADER VE İLERLEME ÇUBUĞU
   ========================================================================== */

#basit-modal .modal-header {
    display: none;
}

#basit-modal .modal-title {
    display: none;
}

#wizard-progress {
    display: flex;
    align-items: center;
    gap: 10px;
}

.progress-step {
    display: flex;
    align-items: center;
    color: #888;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: 'Oswald', sans-serif;
}

.progress-step span {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    font-weight: bold;
    border: 2px solid rgba(255,255,255,0.15);
    transition: all 0.3s ease;
}

.progress-step.active span {
    background-color: rgba(255, 193, 7, 0.2);
    border-color: #ffc107;
    color: #ffc107;
}

.progress-step.completed span {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #000;
}

.progress-step.active {
    color: #fff;
    font-weight: 700;
}

#basit-modal .btn-close {
    background: transparent;
    border: none;
    font-size: 24px;
    color: #888;
    cursor: pointer;
    padding: 0;
    opacity: 0.7;
    transition: all 0.2s;
}

#basit-modal .btn-close:hover {
    opacity: 1;
    color: #ffc107;
    transform: scale(1.1);
}
#basit-modal .btn-close::before { content: '\00d7'; }


/* ==========================================================================
   MODAL BODY VE SİHİRBAZ ADIMLARI
   ========================================================================== */

#basit-modal .modal-body {
    padding: 30px;
    overflow-y: auto;
    flex-grow: 1;
    background: transparent;
    max-height: calc(90vh - 180px);
}

.wizard-step {
    display: none;
    padding: 10px;
}

.wizard-step.active {
    display: block;
    animation: fadeIn 0.5s;
}

.step-title {
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 30px;
    padding-top: 10px;
    text-align: center;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}



/* ==========================================================================
   ADIM 1: MÜŞTERİ TİPİ SEÇİMİ
   ========================================================================== */

.customer-type-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.customer-type-option {
    border: 2px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(0,0,0,0.3);
}

.customer-type-option:hover {
    border-color: rgba(255, 193, 7, 0.5);
    background: rgba(255, 193, 7, 0.05);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.customer-type-option.selected {
    border-color: #ffc107;
    background: rgba(255, 193, 7, 0.1);
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.2);
}

.customer-type-option i {
    font-size: 36px;
    color: #ffc107;
    margin-bottom: 15px;
    display: block;
}

.customer-type-option span {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    font-family: 'Oswald', sans-serif;
}

/* ==========================================================================
   ADIM 2 & 3: FORM ELEMANLARI
   ========================================================================== */

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #b0b0b0;
    font-size: 14px;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.required-field::after {
    content: " *";
    color: #ffc107;
}

.form-control {
    display: block;
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    line-height: 1.5;
    color: #fff;
    background-color: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
    border-color: #ffc107;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.15);
    background-color: rgba(0,0,0,0.5);
}

.form-control::placeholder {
    color: #666;
    opacity: 1;
}

select.form-control:disabled {
    background-color: rgba(255,255,255,0.05);
    opacity: 0.6;
    color: #888;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 10px;
}

/* ==========================================================================
   ADIM 3: BAYİ SEÇİMİ
   ========================================================================== */

#basit-modal .bayi-secim-container {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
    font-family: 'Oswald', sans-serif;
}

#basit-modal .bayi-counter {
    margin-bottom: 15px;
    font-weight: bold;
    color: #ffc107;
}

#basit-modal .bayi-list-container {
    min-height: 360px;
    max-height: 540px;
    overflow-y: auto;
}

/* Modern teslimat türü seçenekleri */
#basit-modal .teslimat-turu-options {
    display: flex;
    gap: 12px;
    align-items: stretch;
    margin-top: 10px;
    flex-wrap: wrap;
}

#basit-modal .teslimat-turu-option {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 12px;
    border: 2px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    background: rgba(0,0,0,0.3);
    cursor: pointer;
    transition: all .2s ease;
    min-width: 140px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
}

/* If any radio inputs remain, keep them hidden to avoid layout issues */
#basit-modal .teslimat-turu-option input[type="radio"] {
    display: none;
}

#basit-modal .teslimat-turu-option .tto-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
#basit-modal .teslimat-turu-option .tto-text span { font-weight: 600; color: #fff; font-family: 'Oswald', sans-serif; font-size: 13px; }
#basit-modal .teslimat-turu-option .tto-text small { font-size: 11px; color: #888; margin-top: 3px; display: block; text-align: center; }
#basit-modal .teslimat-turu-option { word-break: break-word; }
#basit-modal .teslimat-turu-option .tto-text { min-width: 0; }

#basit-modal .teslimat-turu-option > span { font-weight: 600; color: #fff; }

#basit-modal .teslimat-turu-option:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 10px 30px rgba(255, 193, 7, 0.15); 
    border-color: rgba(255, 193, 7, 0.4); 
}

#basit-modal .teslimat-turu-option.active { 
    border-color: #ffc107; 
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15) 0%, rgba(255, 193, 7, 0.05) 100%); 
    box-shadow: 0 12px 35px rgba(255, 193, 7, 0.2); 
}
#basit-modal .teslimat-turu-option.active input[type="radio"] { background: #ffc107; border-color: #ffc107; }

#basit-modal .teslimat-turu-option::after {
    content: "";
    position: absolute;
    top: 8px;
    right: 10px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #000;
    box-shadow: none;
    opacity: 0;
    transform: scale(.9);
    transition: all .18s ease;
}
#basit-modal .teslimat-turu-option.active::after {
    content: "✓";
    background: #ffc107;
    color: #000;
    box-shadow: 0 4px 10px rgba(255, 193, 7, 0.3);
    opacity: 1;
    transform: scale(1);
}

#basit-modal .bayi-ilce-group h6 {
    font-size: 16px;
    font-weight: 600;
    color: #b0b0b0;
    margin: 20px 0 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-family: 'Oswald', sans-serif;
}

#basit-modal .bayi-item {
    display: flex;
    align-items: center;
    padding: 15px;
    min-height: 90px;
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    background-color: rgba(0,0,0,0.3);
    margin-bottom: 10px;
    transition: all 0.2s ease;
    cursor: pointer;
}

#basit-modal .bayi-item:hover {
    border-color: rgba(255, 193, 7, 0.4);
    background-color: rgba(255, 193, 7, 0.05);
}

#basit-modal .bayi-item.selected {
    border-color: #ffc107;
    background-color: rgba(255, 193, 7, 0.1);
}

#basit-modal .bayi-item.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background-color: rgba(0,0,0,0.2);
}

#basit-modal .bayi-checkbox {
    margin-right: 15px;
    font-size: 22px;
    color: #555;
}

#basit-modal .bayi-item.selected .bayi-checkbox {
    color: #ffc107;
}

#basit-modal .bayi-info {
    flex-grow: 1;
}

#basit-modal .bayi-name {
    font-weight: 600;
    font-size: 16px;
    color: #fff;
    margin-bottom: 3px;
    font-family: 'Oswald', sans-serif;
}

#basit-modal .bayi-address {
    font-size: 14px;
    color: #888;
    line-height: 1.4;
}

.alert {
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 10px;
}
.alert-info {
    color: #b0d4f1;
    background-color: rgba(13, 110, 253, 0.15);
    border-color: rgba(13, 110, 253, 0.3);
}
.alert-warning {
    color: #ffc107;
    background-color: rgba(255, 193, 7, 0.1);
    border-color: rgba(255, 193, 7, 0.3);
}

.loader {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255,255,255,0.1);
    border-top: 4px solid #ffc107;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ==========================================================================
   ADIM 4: ÖZET
   ========================================================================== */

#summary-container {
    background-color: rgba(0,0,0,0.3);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    color: #e0e0e0;
}

.summary-section {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dashed rgba(255,255,255,0.15);
}

.summary-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.summary-section h5 {
    font-size: 16px;
    font-weight: 600;
    color: #ffc107;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.summary-section h6 {
    font-size: 15px;
    font-weight: 600;
    margin-top: 15px;
    color: #fff;
}

.summary-section p, .summary-section li {
    font-size: 15px;
    color: #b0b0b0;
    margin-bottom: 8px;
}

.summary-section ul {
    padding-left: 20px;
    margin-top: 10px;
}

#basit-modal .summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 20px;
}

#basit-modal .summary-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

#basit-modal .summary-item.full-width {
    grid-column: 1 / -1;
}

#basit-modal .summary-label {
    font-size: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #ffc107;
    font-weight: 700;
    font-family: 'Oswald', sans-serif;
}

#basit-modal .summary-value {
    font-size: 15px;
    color: #f5f5f5;
    line-height: 1.45;
}

#basit-modal .summary-value small {
    color: #b0b0b0;
}

#basit-modal .summary-list {
    color: #e0e0e0;
}

#basit-modal .summary-list strong {
    color: #fff;
}

.edit-step {
    font-size: 13px;
    font-weight: 500;
    color: #ffc107;
    text-decoration: none;
    transition: all 0.2s;
}

.edit-step:hover {
    text-decoration: underline;
    color: #e0a800;
}

/* ==========================================================================
   MODAL FOOTER VE BUTONLAR
   ========================================================================== */

#basit-modal .modal-footer {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px 24px 20px;
    background: rgba(0, 0, 0, 0.4);
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    position: sticky;
    bottom: 0;
}

.btn {
    display: inline-block;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: 1px solid transparent;
    padding: 12px 24px;
    font-size: 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    color: #000;
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
    border-color: #ffc107;
}
.btn-primary:hover {
    background: linear-gradient(135deg, #e0a800 0%, #c79100 100%);
    border-color: #e0a800;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
    color: #000;
}
.btn-primary:disabled {
    background: rgba(255, 193, 7, 0.3);
    border-color: rgba(255, 193, 7, 0.3);
    color: rgba(0,0,0,0.5);
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-secondary {
    color: #fff;
    background-color: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
}
.btn-secondary:hover {
    background-color: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.3);
    color: #fff;
}

.btn-success {
    color: #000;
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
    border-color: #ffc107;
}
.btn-success:hover {
    background: linear-gradient(135deg, #e0a800 0%, #c79100 100%);
    border-color: #e0a800;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}

/* ==========================================================================
   RESPONSIVE TASARIM
   ========================================================================== */

@media (max-width: 768px) {
    #basit-modal {
        width: 100%;
        max-height: 100vh;
        margin: 0;
    }
    #basit-modal .modal-content {
        height: 100vh;
    }
    #basit-modal .modal-body {
        padding: 20px;
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        padding-bottom: 140px; /* footer altında kalmasın */
    }
    .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .customer-type-options {
        grid-template-columns: 1fr;
    }
    #wizard-progress {
        display: none; /* Mobilde ilerleme çubuğunu gizle, yer kaplamasın */
    }
    #basit-modal .summary-grid {
        grid-template-columns: 1fr;
    }
@media (max-width: 768px) {
    #basit-modal {
        width: 100%;
        max-height: 100vh;
        margin: 0;
    }
    #basit-modal .modal-content {
        height: 100vh;
        display: flex !important;
        flex-direction: column !important;
    }
    #basit-modal .modal-body {
        padding: 20px;
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        padding-bottom: 140px; /* footer altında kalmasın */
    }
    .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .customer-type-options {
        grid-template-columns: 1fr;
    }
    #wizard-progress {
        display: none; /* Mobilde ilerleme çubuğunu gizle, yer kaplamasın */
    }
    #basit-modal .summary-grid {
        grid-template-columns: 1fr;
    }
    #basit-modal .modal-footer {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-end !important;
        gap: 10px !important;
        padding: 16px 20px 24px 20px !important;
        position: sticky !important;
        bottom: 0 !important;
        background: #000 !important;
        z-index: 99999 !important;
        box-shadow: 0 -6px 16px rgba(0,0,0,0.6) !important;
        width: 100% !important;
        flex-wrap: nowrap !important;
    }
    #basit-modal .modal-footer > * {
        flex: 0 0 auto !important;
        width: 100% !important;
        display: block;
        float: none !important;
    }
    #basit-modal .modal-footer .btn,
    #basit-modal #wizard-geri,
    #basit-modal #wizard-ileri,
    #basit-modal #wizard-onayla {
        width: 100% !important;
        display: block;
        float: none !important;
        margin: 0 !important;
        padding: 12px 24px !important;
        flex: 0 0 auto !important;
    }
    /* Mobilde ileri/geri metni görünür kalsın */
    #wizard-ileri,
    #wizard-geri {
        font-size: 16px !important;
        min-width: 48px;
        padding: 12px 16px !important;
    }
    /* Onayla butonu sadece adım 4'te görünsün */
    #wizard-onayla {
        display: none !important;
    }
    .wizard-step[data-step="4"].active ~ .modal-footer #wizard-onayla,
    body.wizard-step-4 #wizard-onayla {
        display: block !important;
    }
    #wizard-ileri::before,
    #wizard-geri::before {
        content: none !important;
        display: none !important;
    }
    /* Mobilde form-group-container'ı düzenle */
    .form-group-container {
        flex-direction: column !important;
        gap: 8px !important;
        align-items: stretch !important;
    }
    .form-group-container .basit-siparis-btn {
        width: 100%;
    }
    .form-group-container .basit-hesap-btn {
        display: none !important;
    }
}
}

/* ==========================================================================
   ORİJİNAL ÜRÜN KARTI STİLLERİ (Mevcut stillerle çakışmayı önlemek için)
   ========================================================================== */

.basit-urun-container {
    max-width: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Oswald', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: transparent;
}

.siparis-formu {
    position: relative;
    border: none;
    border-radius: 16px 16px 0 0;
    border-bottom: none;
    padding: 24px 28px;
    padding-top: 40px;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    margin-bottom: 0;
    box-shadow: none;
}

/* Modal kapatma butonu - sipariş formunun içinde */
.basit-urun-container .btn-close,
#basit-modal .btn-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255,255,255,0.1);
    border: none;
    font-size: 18px;
    color: #fff;
    cursor: pointer;
    padding: 4px 10px;
    border-radius: 6px;
    opacity: 0.7;
    transition: all 0.2s;
    z-index: 10;
    line-height: 1;
}

.basit-urun-container .btn-close:hover,
#basit-modal .btn-close:hover {
    opacity: 1;
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.basit-urun-container .btn-close::before,
#basit-modal .btn-close::before {
    content: '×';
}

.form-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Satır 1: Model adı + badge + açıklama */
.urun-bilgi-alani {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: nowrap;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Satır 2: Fiyat, Renk, Adet yan yana */
.siparis-alani {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    flex-wrap: nowrap;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Satır 3: Butonlar yan yana */
.form-group-container {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
}

/* Butonların üst üste durmaması için */
.form-group-container .basit-siparis-btn,
.form-group-container .basit-hesap-btn {
    flex-shrink: 0;
}

.form-item {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.form-item .urun-fiyat-ek {
    display: none;
}
.form-item .urun-tekcekim,
.form-item .urun-taksit-ornek {
    display: none;
}

/* Payment mode section (below product title) */
.urun-odeme-secim {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    margin: 12px 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.odeme-label {
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    font-weight: 500;
}
.payment-mode-btn {
    padding: 9px 16px;
    min-width: 120px;
    border-radius: 8px;
    border: 2px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.92);
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
    position: relative;
}
.payment-mode-btn:hover {
    background: rgba(255,255,255,0.10);
    border-color: rgba(255,255,255,0.35);
}
.payment-mode-btn.active {
    background: linear-gradient(135deg, #ffd24d 0%, #ffc107 100%);
    color: #111;
    box-shadow: 0 0 0 2px rgba(255, 193, 7, 0.30), 0 8px 20px rgba(0,0,0,0.40);
    border-color: #ffc107;
    transform: translateY(-1px);
}
.payment-mode-btn.active::after {
    content: '✓';
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    font-weight: 700;
}

@media (max-width: 768px) {
    .urun-odeme-secim {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .odeme-label {
        text-align: center;
    }
    .payment-mode-btn {
        width: 100%;
        min-width: 0;
    }
}

.form-item strong {
    color: rgba(255,255,255,0.5);
    font-weight: 400;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Oswald', sans-serif;
}

.form-item .urun-fiyat {
    font-size: 24px;
    color: #ffc107;
    font-family: 'Oswald', "HeronSans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 600;
    font-style: normal;
}

.siparis-formu select,
.siparis-formu input[type="number"] {
    padding: 10px 14px;
    border: 1px solid rgba(255, 193, 7, 0.3) !important;
    border-radius: 8px;
    font-size: 14px;
    background: rgba(0,0,0,0.5) !important;
    color: #fff !important;
    font-family: 'Oswald', sans-serif;
    transition: all 0.2s ease;
    min-width: 90px;
}

.siparis-formu select option {
    background: #1d1d1f;
    color: #fff;
}

.siparis-formu select:focus,
.siparis-formu input[type="number"]:focus {
    border-color: #ffc107 !important;
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 193, 7, 0.15);
}

.siparis-formu input[type="number"] {
    width: 65px;
    text-align: center;
}

.basit-siparis-btn {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%) !important;
    color: #000 !important;
    padding: 12px 32px !important;
    border: none !important;
    cursor: pointer !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    font-family: 'Oswald', sans-serif !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.25) !important;
}

.basit-siparis-btn:not(.disabled):hover {
    background: linear-gradient(135deg, #e0a800 0%, #c79100 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4) !important;
}

.basit-siparis-btn.disabled {
    background: rgba(255, 193, 7, 0.2) !important;
    color: rgba(0,0,0,0.4) !important;
    cursor: not-allowed !important;
    opacity: 0.5 !important;
    transform: none !important;
    box-shadow: none !important;
}

.onay-kutusu-container {
    margin-top: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    background-color: transparent;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media (max-width: 992px) {
    .siparis-alani {
        flex-wrap: wrap;
        gap: 15px;
    }
    .urun-bilgi-alani {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    /* Mobilde sözleşme butonlarını düzenle */
    .onay-kutusu-container button,
    .onay-kutusu-container a,
    [class*="sozlesme"] button,
    [class*="sozlesme"] a,
    .basit-urun-container [class*="sozlesme"] button,
    .basit-urun-container [class*="sozlesme"] a {
        width: 100% !important;
        display: block !important;
        white-space: normal !important;
        word-break: break-word !important;
        padding: 12px 16px !important;
        margin-top: 8px !important;
        margin-bottom: 8px !important;
        font-size: 14px !important;
    }
    .onay-kutusu-container,
    .onay-kutusu,
    [class*="sozlesme"] {
        width: 100% !important;
        white-space: normal !important;
        word-break: break-word !important;
        overflow-wrap: anywhere !important;
        display: block !important;
    }
    .onay-kutusu {
        padding: 12px 14px !important;
        margin: 0 !important;
    }
}

@media (max-width: 576px) {
    .siparis-formu {
        padding: 18px 20px;
    }
    .siparis-alani {
        gap: 12px;
    }
    .form-item .urun-fiyat {
        font-size: 20px;
    }
    .urun-baslik {
        font-size: 18px;
    }
}

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

.urun-baslik {
    margin: 0;
    padding: 0;
    color: #fff !important;
    font-size: 22px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.kampanya-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
    color: #000 !important;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
    white-space: nowrap;
    position: relative;
    overflow: visible;
    font-family: 'Oswald', sans-serif;
}


/* Simple pulse effect on kampanya badge */
.kampanya-badge {
    transform-origin: center center;
    animation: kampanya-pulse 1.5s ease-in-out infinite;
}

@keyframes kampanya-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
    }
    50% {
        transform: scale(1.06);
        box-shadow: 0 8px 25px rgba(255, 193, 7, 0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
    }
}

.kampanya-aciklama {
    display: inline-flex;
    align-items: center;
    margin: 0 !important;
    padding: 6px 14px !important;
    font-size: 11px !important;
    line-height: 1 !important;
    color: rgba(255, 193, 7, 0.9) !important;
    background: rgba(255, 193, 7, 0.1) !important;
    border: 1px solid rgba(255, 193, 7, 0.2) !important;
    border-radius: 6px !important;
    font-weight: 500 !important;
    font-family: 'Oswald', sans-serif !important;
    white-space: nowrap !important;
    height: auto;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .urun-baslik {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .kampanya-badge {
        font-size: 11px;
        padding: 3px 8px;
    }
    
    .kampanya-aciklama {
        font-size: 9px !important;
        padding: 5px 8px !important;
    }
}
/* ==========================================================================
   ONAY SLIDER SİSTEMİ - MODERN STEPPER TASARIM
   ========================================================================== */

.onay-slider-container {
    margin-top: 0;
    padding: 18px 28px 24px 28px;
    background: rgba(29, 29, 31, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 0 0 16px 16px;
    border: 1px solid rgba(255, 193, 7, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    box-sizing: border-box;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0,0,0,0.4);
}

.onay-progress-bar {
    position: relative;
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.onay-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffc107 0%, #e0a800 100%);
    border-radius: 10px;
    transition: width 0.4s ease;
    width: 0%;
    box-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
}

.onay-progress-text {
    position: absolute;
    top: -22px;
    right: 0;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 193, 7, 0.7);
    font-family: 'Oswald', sans-serif;
}

.onay-slider-wrapper {
    position: relative;
    min-height: 60px;
    width: 100%;
    box-sizing: border-box;
}

.onay-slide {
    display: none;
    animation: slideIn 0.4s ease;
    width: 100%;
    box-sizing: border-box;
}

.onay-slide[data-active="true"] {
    display: block;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.onay-slide-content {
    background: transparent;
    padding: 0;
    border: none;
    width: 100%;
    box-sizing: border-box;
}

.onay-slide-header {
    display: flex;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
}

.onay-slide-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
    color: #000;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    min-width: 55px;
    flex-shrink: 0;
    font-family: 'Oswald', sans-serif;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
    box-sizing: border-box;
}

.onay-slide-btn {
    flex: 1 1 auto;
    width: calc(100% - 67px);
    padding: 14px 24px;
    background: rgba(255,255,255,0.08) !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    line-height: 1.5;
    font-family: 'Oswald', sans-serif;
    text-transform: none;
    letter-spacing: 0.3px;
    box-sizing: border-box;
}

.onay-slide-btn:hover {
    background: rgba(255, 193, 7, 0.15) !important;
    border-color: rgba(255, 193, 7, 0.4) !important;
    color: #ffc107 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.15);
}

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

.onay-completion-message {
    text-align: center;
    padding: 30px;
    background: rgba(255, 193, 7, 0.1);
    border: 2px solid rgba(255, 193, 7, 0.3);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.onay-completion-message i {
    font-size: 48px;
    color: #ffc107;
    margin-bottom: 15px;
    display: block;
}

.onay-completion-message span {
    font-size: 16px;
    font-weight: 600;
    color: #ffc107;
    line-height: 1.6;
    display: block;
    font-family: 'Oswald', sans-serif;
}

@media (max-width: 768px) {
    .onay-slider-container {
        padding: 12px;
    }

    .onay-slide-header {
        flex-direction: column;
        gap: 8px;
    }
    
    .onay-slide-number {
        font-size: 12px;
        padding: 10px 12px;
        min-width: 50px;
        width: fit-content;
    }
    
    .onay-slide-btn {
        font-size: 14px;
        padding: 10px 16px;
        width: 100%;
        white-space: normal !important;
        word-break: break-word;
        overflow-wrap: anywhere;
    }
    
    .onay-completion-message {
        padding: 25px;
    }
    
    .onay-completion-message i {
        font-size: 42px;
    }
    
    .onay-completion-message span {
        font-size: 15px;
    }
}
/* ==========================================================================
   ONAY TOOLTIP - SİPARİŞ VER BUTONU
   ========================================================================== */

.onay-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 10px;
    padding: 10px 15px;
    background: rgba(255, 193, 7, 0.95);
    color: #000;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
    z-index: 1000;
    display: none;
    font-family: 'Oswald', sans-serif;
}

.onay-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(255, 193, 7, 0.95);
}

.basit-siparis-btn {
    position: relative;
}
