/* Sipariş sorgula — info-page / paket dili */

.siparis-track-panel {
    padding: 28px 22px 30px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid color-mix(in srgb, var(--ps-accent, #dd2a7b) 10%, rgba(23, 21, 26, 0.06));
    box-shadow:
        0 18px 48px rgba(40, 16, 40, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.siparis-track-title {
    margin: 0 0 8px;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #17151a;
}

.siparis-track-hint {
    margin: 0 0 20px;
    font-size: 14px;
    line-height: 1.55;
    color: #6b6470;
}

.siparis-track-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.siparis-track-input {
    flex: 1 1 220px;
    min-height: 50px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--ps-accent, #dd2a7b) 14%, rgba(23, 21, 26, 0.1));
    background: #fff;
    color: #17151a;
    font-size: 14.5px;
    font-weight: 600;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.siparis-track-input::placeholder {
    color: #9a93a0;
    font-weight: 500;
}

.siparis-track-input:focus {
    border-color: color-mix(in srgb, var(--ps-accent, #dd2a7b) 45%, transparent);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--ps-accent, #dd2a7b) 12%, transparent);
}

.siparis-track-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    background: var(--ps-grad, linear-gradient(115deg, #f58529 0%, #dd2a7b 52%, #8134af 100%));
    color: #fff;
    font-size: 14px;
    font-weight: 750;
    cursor: pointer;
    box-shadow: 0 12px 28px color-mix(in srgb, var(--ps-accent, #dd2a7b) 28%, transparent);
    transition: transform 0.18s ease, filter 0.18s ease;
}

.siparis-track-submit:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
}

.siparis-track-submit .material-symbols-outlined {
    font-size: 18px;
    line-height: 1;
}

.siparis-track-alert {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.45;
}

.siparis-track-alert.is-error {
    color: #9b1c2e;
    background: rgba(220, 53, 69, 0.08);
    border: 1px solid rgba(220, 53, 69, 0.18);
}

.siparis-track-alert.is-warn {
    color: #8a6d3b;
    background: rgba(255, 193, 7, 0.12);
    border: 1px solid rgba(255, 193, 7, 0.28);
}

.siparis-track-alert.is-cancel {
    color: #721c24;
    background: rgba(220, 53, 69, 0.08);
    border: 1px solid rgba(220, 53, 69, 0.2);
}

.siparis-track-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.siparis-track-card {
    padding: 22px 20px 24px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid color-mix(in srgb, var(--ps-accent, #dd2a7b) 10%, rgba(23, 21, 26, 0.06));
    box-shadow: 0 14px 32px rgba(40, 16, 40, 0.05);
}

.siparis-track-card-title {
    margin: 0 0 18px;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #17151a;
    text-align: center;
}

.siparis-track-progress {
    display: flex;
    justify-content: space-between;
    position: relative;
    gap: 8px;
    margin: 8px 0 0;
}

.siparis-track-progress::before {
    content: "";
    position: absolute;
    top: 22px;
    left: 12%;
    right: 12%;
    height: 3px;
    border-radius: 999px;
    background: rgba(23, 21, 26, 0.08);
    z-index: 0;
}

.siparis-track-step {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.siparis-track-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ebe7ed;
    color: #7a7380;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 0 0 6px #fcf8f9;
}

.siparis-track-step.is-active .siparis-track-circle {
    color: #fff;
    background: var(--ps-grad, linear-gradient(115deg, #f58529 0%, #dd2a7b 52%, #8134af 100%));
    box-shadow:
        0 0 0 6px #fcf8f9,
        0 10px 22px color-mix(in srgb, var(--ps-accent, #dd2a7b) 28%, transparent);
}

.siparis-track-step.is-done .siparis-track-circle {
    color: #fff;
    background: linear-gradient(145deg, #22c55e, #16a34a);
    box-shadow: 0 0 0 6px #fcf8f9;
}

.siparis-track-label {
    font-size: 12.5px;
    font-weight: 650;
    color: #6b6470;
    line-height: 1.3;
}

.siparis-track-step.is-active .siparis-track-label {
    color: var(--ps-accent, #dd2a7b);
    font-weight: 800;
}

.siparis-track-step.is-done .siparis-track-label {
    color: #15803d;
    font-weight: 750;
}

.siparis-track-empty {
    margin: 0;
    padding: 22px;
    text-align: center;
    font-size: 14.5px;
    color: #6b6470;
    border-radius: 18px;
    background: color-mix(in srgb, var(--ps-accent, #dd2a7b) 4%, #fff);
    border: 1px dashed color-mix(in srgb, var(--ps-accent, #dd2a7b) 18%, rgba(23, 21, 26, 0.1));
}

.siparis-track-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ps-accent, #dd2a7b);
    text-decoration: none;
}

.siparis-track-back:hover {
    text-decoration: underline;
}

@media (min-width: 768px) {
    .siparis-track-panel,
    .siparis-track-card {
        padding: 32px 30px;
    }
}

@media (max-width: 640px) {
    .siparis-track-form {
        flex-direction: column;
    }

    .siparis-track-submit {
        width: 100%;
    }

    .siparis-track-progress {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .siparis-track-progress::before {
        display: none;
    }

    .siparis-track-step {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
        gap: 12px;
        padding: 10px 12px;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.7);
        border: 1px solid rgba(23, 21, 26, 0.06);
    }

    .siparis-track-circle {
        box-shadow: none;
        width: 38px;
        height: 38px;
    }
}
