/**
 * SİPARİŞ TAKİBİ SAYFASI STİLLERİ
 */

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb-wrapper {
    background: #f8f8f8;
    padding: 1rem 0;
    margin-bottom: 3rem;
    border-bottom: 1px solid #e5e5e5;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: '›';
    margin-left: 0.5rem;
    color: #999;
    font-size: 1.2rem;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--primary-color, #2c3e50);
}

.breadcrumb li:last-child {
    color: var(--primary-color, #2c3e50);
    font-weight: 500;
}

/* ============================================
   ORDER TRACKING WRAPPER
   ============================================ */
.order-tracking-wrapper {
    padding: 3rem 0 5rem;
}

/* ============================================
   SORGULAMA FORMU
   ============================================ */
.tracking-form-section {
    max-width: 600px;
    margin: 0 auto;
}

.tracking-header {
    text-align: center;
    margin-bottom: 3rem;
}

.tracking-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #fff;
}

.tracking-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.8rem;
}

.tracking-subtitle {
    font-size: 1.1rem;
    color: #666;
}

/* Alert */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert i {
    font-size: 1.2rem;
}

/* Form */
.tracking-form {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
}

.form-group input {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #2c3e50;
    box-shadow: 0 0 0 3px rgba(44, 62, 80, 0.1);
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #999;
}

.btn-submit {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 62, 80, 0.3);
}

/* Bilgilendirme */
.tracking-info {
    background: #f8f9fa;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    border-left: 4px solid #2c3e50;
}

.tracking-info h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.tracking-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tracking-info li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #666;
    font-size: 0.95rem;
}

.tracking-info li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #2c3e50;
    font-weight: bold;
}

/* ============================================
   SİPARİŞ DETAYLARI
   ============================================ */
.order-details-section {
    max-width: 900px;
    margin: 0 auto;
}

.order-details-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.order-details-header h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.order-number {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: #f8f9fa;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
}

/* Sipariş Durumu */
.order-status-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 3rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 2rem;
}

.status-warning { background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%); }
.status-info { background: linear-gradient(135deg, #3498db 0%, #2980b9 100%); }
.status-primary { background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%); }
.status-success { background: linear-gradient(135deg, #27ae60 0%, #229954 100%); }
.status-danger { background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%); }

/* Timeline */
.status-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding-top: 1rem;
}

.status-timeline::before {
    content: '';
    position: absolute;
    top: 2rem;
    left: 10%;
    right: 10%;
    height: 3px;
    background: #e5e5e5;
    z-index: 0;
}

.timeline-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.step-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f8f9fa;
    border: 3px solid #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #999;
    margin-bottom: 0.8rem;
    transition: all 0.3s;
}

.step-label {
    font-size: 0.85rem;
    color: #999;
    text-align: center;
    font-weight: 500;
}

.timeline-step.completed .step-icon {
    background: #27ae60;
    border-color: #27ae60;
    color: #fff;
}

.timeline-step.completed .step-label {
    color: #27ae60;
}

.timeline-step.current .step-icon {
    background: #3498db;
    border-color: #3498db;
    color: #fff;
    animation: pulse 2s infinite;
}

.timeline-step.current .step-label {
    color: #3498db;
    font-weight: 600;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.7); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(52, 152, 219, 0); }
}

/* Sipariş Bilgileri Grid */
.order-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
}

.info-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-card p {
    font-size: 1.1rem;
    color: #2c3e50;
    font-weight: 600;
    margin: 0;
}

.info-card .price {
    font-size: 1.3rem;
    color: #27ae60;
}

/* Adres Kartı */
.address-card {
    background: #fff;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
    margin-bottom: 2rem;
}

.address-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.address-card p {
    color: #666;
    line-height: 1.7;
}

/* Yeni Sorgulama */
.new-search {
    text-align: center;
    padding-top: 2rem;
    border-top: 2px solid #f0f0f0;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2rem;
    background: #f8f9fa;
    color: #2c3e50;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: #fff;
    border-color: #2c3e50;
}

/* ============================================
   RESPONSİVE TASARIM
   ============================================ */

@media (max-width: 768px) {
    .order-tracking-wrapper {
        padding: 2rem 0 3rem;
    }

    .tracking-title,
    .order-details-header h1 {
        font-size: 2rem;
    }

    .tracking-form {
        padding: 1.5rem;
    }

    .status-timeline {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .status-timeline::before {
        display: none;
    }

    .timeline-step {
        flex-basis: 33%;
    }

    .order-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .order-tracking-wrapper {
        padding: 1.5rem 0 2rem;
    }

    .tracking-title,
    .order-details-header h1 {
        font-size: 1.6rem;
    }

    .tracking-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .tracking-form {
        padding: 1.2rem;
    }

    .order-status-card {
        padding: 1.5rem;
    }

    .step-label {
        font-size: 0.75rem;
    }

    .step-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .timeline-step {
        flex-basis: 50%;
    }
}
