/* =====================================================================
   ALVIALIFE — Sipariş Takibi
   ===================================================================== */

.st-page { background: #f5f7fa; }

/* ===== HERO ===== */
.st-hero {
    background: linear-gradient(135deg, #0d1626 0%, #1a2a4a 100%);
    padding: 3rem 0 2.5rem;
    text-align: center;
}
.st-hero__title {
    font-size: clamp(1.7rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin: 0 0 .65rem;
}
.st-hero__lead { font-size: .95rem; color: rgba(255,255,255,.6); margin: 0; }

/* ===== ARAMA FORMU ===== */
.st-wrap { padding: 2.5rem 0 4rem; }
.st-form-card {
    background: #fff;
    border: 1px solid #eef0f5;
    border-radius: 1.25rem;
    padding: 2rem;
    max-width: 560px;
    margin: 0 auto 2.5rem;
    box-shadow: 0 4px 24px rgba(0,0,0,.07);
}
.st-form-card__title {
    font-size: 1.05rem; font-weight: 700; color: #0f172a;
    margin: 0 0 1.5rem; display: flex; align-items: center; gap: .6rem;
}
.st-form-card__title svg { color: var(--accent, #67e0dc); }

.st-field { margin-bottom: 1rem; }
.st-label { display: block; font-size: .82rem; font-weight: 600; color: #5a6377; margin-bottom: .4rem; }
.st-input {
    width: 100%; border: 1.5px solid #e2e8f0; border-radius: .6rem;
    padding: .78rem 1rem; font-size: .95rem; color: #0f172a; outline: 0;
    transition: border-color .15s, box-shadow .15s;
    background: #fff;
}
.st-input:focus { border-color: var(--accent, #67e0dc); box-shadow: 0 0 0 3px rgba(103,224,220,.15); }
.st-input::placeholder { color: #b0b8c5; }

.st-btn {
    width: 100%; background: var(--accent, #67e0dc); border: 0;
    border-radius: .65rem; padding: .9rem 1.5rem;
    font-size: .95rem; font-weight: 700; color: #0f172a;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    gap: .5rem; transition: opacity .15s; margin-top: .5rem;
}
.st-btn:hover { opacity: .88; }

.st-error {
    background: #fef2f2; border: 1px solid #fecaca; border-radius: .65rem;
    padding: .9rem 1.1rem; font-size: .88rem; color: #dc2626;
    display: flex; align-items: center; gap: .65rem;
    max-width: 560px; margin: 0 auto 1.5rem;
}

/* ===== SONUÇ KARTI ===== */
.st-result { max-width: 720px; margin: 0 auto; }

.st-order-head {
    background: #fff; border: 1px solid #eef0f5; border-radius: 1rem;
    padding: 1.35rem 1.5rem; margin-bottom: 1.25rem;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    flex-wrap: wrap;
}
.st-order-no { font-size: .78rem; color: #64748b; margin-bottom: .2rem; text-transform: uppercase; letter-spacing: .06em; }
.st-order-no span { font-size: 1.15rem; font-weight: 800; color: #0f172a; }
.st-order-date { font-size: .82rem; color: #64748b; }
.st-ödeme-badge {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .3rem .9rem; border-radius: 2rem;
    font-size: .78rem; font-weight: 700;
}
.st-ödeme-badge.beklemede  { background: #fef3c7; color: #b45309; }
.st-ödeme-badge.odendi     { background: #dcfce7; color: #15803d; }
.st-ödeme-badge.basarisiz  { background: #fee2e2; color: #dc2626; }
.st-ödeme-badge.iade       { background: #f1f5f9; color: #64748b; }

/* ===== PROGRESS ===== */
.st-progress-card {
    background: #fff; border: 1px solid #eef0f5; border-radius: 1rem;
    padding: 1.75rem 1.5rem; margin-bottom: 1.25rem;
}
.st-progress-card__title { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #94a3b8; margin-bottom: 1.75rem; }

.st-steps { display: flex; align-items: flex-start; position: relative; }
.st-steps::before {
    content: '';
    position: absolute;
    top: 22px; left: 16.667%; right: 16.667%;
    height: 3px;
    background: #e2e8f0;
    z-index: 0;
}
.st-step {
    flex: 1; display: flex; flex-direction: column; align-items: center;
    text-align: center; position: relative; z-index: 1;
}
.st-step__icon {
    width: 46px; height: 46px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 3px solid #e2e8f0;
    background: #fff;
    color: #cbd5e1;
    margin-bottom: .65rem;
    transition: all .2s;
    position: relative; z-index: 1;
}
.st-step.done .st-step__icon   { background: var(--accent,#67e0dc); border-color: var(--accent,#67e0dc); color: #0f172a; }
.st-step.active .st-step__icon { background: #0f172a; border-color: #0f172a; color: #fff; box-shadow: 0 4px 14px rgba(15,23,42,.25); }
.st-step.error .st-step__icon  { background: #fef2f2; border-color: #fca5a5; color: #dc2626; }

.st-step__label { font-size: .75rem; font-weight: 600; color: #94a3b8; line-height: 1.35; max-width: 80px; }
.st-step.done .st-step__label   { color: #0f172a; }
.st-step.active .st-step__label { color: #0f172a; font-weight: 700; }

/* Progress line fill — 3 adım: Sipariş Alındı / Hazırlanıyor / Gönderildi (adım merkezleri %16.67, %50, %83.33) */
.st-steps[data-step="1"]::after,
.st-steps[data-step="2"]::after {
    content: '';
    position: absolute;
    top: 22px; left: 16.667%;
    height: 3px;
    background: var(--accent,#67e0dc);
    z-index: 0;
}
.st-steps[data-step="1"]::after { width: 33.333%; }
.st-steps[data-step="2"]::after { width: 66.667%; }

/* ===== KARGO BİLGİSİ ===== */
.st-kargo-card {
    background: linear-gradient(135deg,#f0fdf4,#ecfdf5);
    border: 1px solid #86efac; border-radius: 1rem;
    padding: 1.35rem 1.5rem; margin-bottom: 1.25rem;
    display: flex; align-items: center; gap: 1.25rem;
}
.st-kargo-card__icon {
    width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
    background: rgba(34,197,94,.15);
    display: flex; align-items: center; justify-content: center;
    color: #16a34a;
}
.st-kargo-card__firma { font-size: .75rem; color: #64748b; margin-bottom: .2rem; }
.st-kargo-card__no { font-size: 1.1rem; font-weight: 800; color: #15803d; letter-spacing: .04em; }

/* ===== SİPARİŞ DETAYLARI ===== */
.st-detail-card {
    background: #fff; border: 1px solid #eef0f5; border-radius: 1rem;
    padding: 1.35rem 1.5rem; margin-bottom: 1.25rem;
}
.st-detail-card__title { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #94a3b8; margin-bottom: 1rem; padding-bottom: .75rem; border-bottom: 1px solid #f1f5f9; }

.st-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.st-detail-item__label { font-size: .74rem; color: #94a3b8; margin-bottom: .15rem; }
.st-detail-item__val   { font-size: .9rem; font-weight: 600; color: #0f172a; }

.st-product-row {
    display: flex; gap: 1rem; align-items: center;
    padding: .85rem 0; border-bottom: 1px solid #f1f5f9;
    margin-bottom: .75rem;
}
.st-product-img {
    width: 56px; height: 56px; border-radius: .5rem; flex-shrink: 0;
    background: linear-gradient(135deg,#1a2a4a,#2c5364);
    overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.st-product-img img { width: 100%; height: 100%; object-fit: cover; }
.st-product-img-ph { font-size: .4rem; font-weight: 700; color: var(--accent,#67e0dc); text-align: center; letter-spacing: .1em; line-height: 1.6; padding: .2rem; }
.st-product-name { font-weight: 700; color: #0f172a; font-size: .9rem; }
.st-product-sub  { font-size: .78rem; color: #64748b; }
.st-product-price { margin-left: auto; font-size: 1.05rem; font-weight: 800; color: var(--accent,#67e0dc); white-space: nowrap; }

/* ===== ALT NOTLAR ===== */
.st-note { font-size: .8rem; color: #94a3b8; text-align: center; margin-top: 1.5rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
    .st-form-card { padding: 1.5rem 1.1rem; }
    .st-steps::before,
    .st-steps[data-step="1"]::after,
    .st-steps[data-step="2"]::after { top: 20px; }
    .st-step__icon { width: 40px; height: 40px; }
    .st-detail-grid { grid-template-columns: 1fr; }
    .st-kargo-card { flex-direction: column; text-align: center; }
    .st-order-head { flex-direction: column; }
}
