/* Sepet Stilleri */
.sepet-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: box-shadow 0.2s;
}

.sepet-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.sepet-item .card-body {
    padding: 0.75rem;
}

/* Sepet Container Genişlik Sınırlaması */
#sepet-container {
    max-width: 100%;
}

#sepet-ozet {
    max-width: 100%;
}

/* Checkout Adım Göstergesi */
.checkout-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
}

.checkout-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e0e0e0;
    z-index: 0;
}

.checkout-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.checkout-step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    font-weight: bold;
    color: #999;
}

.checkout-step.active .checkout-step-number {
    background: #007bff;
    border-color: #007bff;
    color: #fff;
}

.checkout-step.completed .checkout-step-number {
    background: #28a745;
    border-color: #28a745;
    color: #fff;
}

.checkout-step-label {
    font-size: 0.875rem;
    color: #666;
}

.checkout-step.active .checkout-step-label {
    color: #007bff;
    font-weight: bold;
}

/* Form Stilleri */
.siparis-form .form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.siparis-form .form-control,
.siparis-form .form-select {
    border-radius: 6px;
    border: 1px solid #ddd;
    padding: 0.75rem;
}

.siparis-form .form-control:focus,
.siparis-form .form-select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
}

/* Adres Kartları */
.adres-kart {
    cursor: pointer;
    transition: all 0.2s;
}

.adres-kart:hover {
    border-color: #007bff;
    box-shadow: 0 2px 8px rgba(0,123,255,0.1);
}

.adres-kart .form-check-input:checked ~ .form-check-label {
    color: #007bff;
    font-weight: bold;
}

/* Buton Stilleri */
.btn-siparis {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s;
}

.btn-siparis:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Loading Animasyonu */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

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

/* Sepet Badge */
#sepet-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #dc3545;
    color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Ödeme Yöntemi Seçimi */
.odeme-yontemi-kart {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 1rem;
}

.odeme-yontemi-kart:hover {
    border-color: #007bff;
    background: #f8f9fa;
}

.odeme-yontemi-kart.selected {
    border-color: #007bff;
    background: #e7f3ff;
}

.odeme-yontemi-kart input[type="radio"]:checked ~ label {
    color: #007bff;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
    .checkout-steps {
        flex-direction: column;
    }

    .checkout-steps::before {
        display: none;
    }

    .checkout-step {
        margin-bottom: 1rem;
    }

    .sepet-item .card-body {
        padding: 0.75rem;
    }
}

/* Sipariş Onay Sayfası */
.siparis-onay-icon {
    font-size: 64px;
    color: #28a745;
    margin-bottom: 1rem;
}

.siparis-ozet-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.siparis-ozet-item:last-child {
    border-bottom: none;
}

/* SMS Doğrulama */
.sms-kod-input {
    font-size: 24px;
    letter-spacing: 8px;
    text-align: center;
    font-weight: bold;
}

/* Alert Stilleri */
.alert-siparis {
    border-radius: 8px;
    border-left: 4px solid;
}

.alert-siparis-info {
    border-left-color: #17a2b8;
}

.alert-siparis-success {
    border-left-color: #28a745;
}

.alert-siparis-warning {
    border-left-color: #ffc107;
}

.alert-siparis-danger {
    border-left-color: #dc3545;
}

