/* WP Shipment Tracker Frontend Styles */

.wpst-tracking-form {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
}

.wpst-tracking-form label {
    font-weight: bold;
    color: #333;
}

.wpst-tracking-form input[type="text"] {
    width: 300px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin: 5px 0;
}

.wpst-tracking-form input[type="submit"] {
    background: #e4002b;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.wpst-tracking-form input[type="submit"]:hover {
    background: #c5001f;
}

.wpst-tracking-result {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.wpst-tracking-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.wpst-tracking-table th,
.wpst-tracking-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.wpst-tracking-table th {
    background: #f5f5f5;
    font-weight: bold;
}

.wpst-timeline-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.wpst-timeline-table th,
.wpst-timeline-table td {
    padding: 8px;
    text-align: left;
    border: 1px solid #ddd;
}

.wpst-timeline-table th {
    background: #e4002b;
    color: white;
    font-weight: bold;
}

.wpst-error {
    background: #ffebee;
    color: #c62828;
    padding: 15px;
    border: 1px solid #e57373;
    border-radius: 4px;
    margin: 10px 0;
}

.wpst-success {
    background: #e8f5e8;
    color: #2e7d32;
    padding: 15px;
    border: 1px solid #81c784;
    border-radius: 4px;
    margin: 10px 0;
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    .receipt-printable {
        width: 100%;
        max-width: none;
    }
}
