/* ===============================
   СТРАНИЦА ПРОВЕРКИ СТАТУСА
================================ */

.order-status-page {
    width: 100%;
    padding: 40px 60px;
    box-sizing: border-box;
}

/* Заголовок */
.order-status-page h1 {
    margin-bottom: 40px;
    font-size: 32px;
}

/* ===============================
   ФОРМА ПОИСКА
================================ */

.order-status-page .search-form {
    width: 100%;
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
}

.order-status-page .search-input {
    flex: 1;
    padding: 14px 16px;
    font-size: 16px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
}

.order-status-page .search-button {
    padding: 14px 26px;
    font-size: 15px;
    border-radius: 6px;
    border: none;
    background: #2563eb;
    color: #fff;
    cursor: pointer;
    white-space: nowrap;
}

.order-status-page .search-button:hover {
    background: #1d4ed8;
}

/* ===============================
   РЕЗУЛЬТАТ
================================ */

.order-status-page .order-result {
    width: 100%;
    padding: 30px 40px;
    background: #f8fafc;
    border-radius: 10px;
}

/* Основные данные */
.order-status-page .order-main-info {
    margin-bottom: 30px;
}

.order-status-page .order-main-info h3 {
    margin: 0 0 12px;
    font-size: 18px;
}

/* ===============================
   ИСТОРИЯ СТАТУСОВ
================================ */

.order-status-page .status-history {
    margin-top: 30px;
}

.order-status-page .status-history h4 {
    margin-bottom: 15px;
    font-size: 18px;
}

.order-status-page .status-history ul {
    padding-left: 0;
    list-style: none;
}

.order-status-page .status-history li {
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
    font-size: 15px;
}

/* ===============================
   ОШИБКИ
================================ */

.order-status-page .status-error {
    margin-top: 30px;
    color: #dc2626;
    font-size: 16px;
    font-weight: 500;
}

.order-item {
    border: 1px solid #000;
    margin-bottom: 30px;
}

/* ===============================
   АДАПТИВ: СТРАНИЦА КЛИЕНТА
================================ */
@media (max-width: 768px) {

    /* ===== Общие отступы ===== */
    .order-status-page {
        padding: 20px 12px;
    }

    .order-status-page h1 {
        font-size: 24px;
        margin-bottom: 25px;
        text-align: center;
    }

    /* ===== Форма поиска ===== */
    .order-status-page .search-form {
        flex-direction: column;
        gap: 14px;
        width: 100%;
        margin-bottom: 30px;
    }

    .order-status-page .search-input {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        font-size: 16px;
        padding: 14px 16px;
    }

    .order-status-page .search-button {
        width: 100%;
        max-width: 260px;
        margin: 0 auto;
        padding: 14px 20px;
        font-size: 16px;
    }

    /* ===== БОКС РЕЗУЛЬТАТА ===== */
    .order-status-page .order-result {
        padding: 20px 18px;
        border-radius: 12px;
    }

    /* ===== ОСНОВНАЯ ИНФА ===== */
    .order-status-page .order-main-info h3 {
        font-size: 16px;
        margin-bottom: 10px;
        line-height: 1.4;
    }

    .order-status-page .order-main-info p {
        font-size: 15px;
        line-height: 1.5;
        word-break: break-word;
    }

    /* ===== СТАТУС ===== */
    .order-status-page .order-main-info strong {
        display: block;               /* ← КЛЮЧ */
        margin-top: 6px;
        font-size: 15px;
        font-weight: 600;
        line-height: 1.4;
        word-break: break-word;
    }

    /* ===== ИСТОРИЯ СТАТУСОВ ===== */
    .order-status-page .status-history h4 {
        font-size: 17px;
        margin-bottom: 12px;
    }

    .order-status-page .status-history li {
        font-size: 14px;
        line-height: 1.5;
        padding: 10px 0;
        word-break: break-word;
    }

    /* ===== ОШИБКИ ===== */
    .order-status-page .status-error {
        font-size: 15px;
        text-align: center;
    }
}

