/**
 * Order Status Tracker — Styles
 * Стили для компонента отслеживания статуса заказа
 */

.ost-wrapper {
    max-width: 500px;
    margin: 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

/* Карточка статуса */
.ost-status-container {
    display: none;
}

.ost-status-card {
    overflow: hidden;
}

.ost-status-header {
    background: #f8f9fa;
    padding: 15px 20px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.ost-order-number {
    font-weight: 700;
    color: #333;
    font-size: 16px;
}

.ost-status-badge {
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ost-status-pending {
    background: #fff3cd;
    color: #856404;
}

.ost-status-success {
    background: #d4edda;
    color: #155724;
}

.ost-status-failed {
    background: #f8d7da;
    color: #721c24;
}

.ost-status-on-hold {
    background: #d1ecf1;
    color: #0c5460;
}

.ost-status-body {
    padding: 25px 20px;
    text-align: center;
}

.ost-status-message {
    font-size: 16px;
    color: #333;
    line-height: 1.5;
    margin: 0;
}

/* Адаптивность */
@media (max-width: 768px) {
    .ost-wrapper {
        margin: 10px;
    }

    .ost-status-header {
        flex-direction: column;
        align-items: flex-start;
    }
}
