/* Basic modern styling for International 3PL courier front-end */

.i3pl-track-wrapper,
.i3pl-portal-wrapper {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.i3pl-track-wrapper .card,
.i3pl-my-packages.card,
.i3pl-portal-header.card,
.i3pl-portal-track.card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    margin-bottom: 1.5rem;
}

.i3pl-track-form h2,
.i3pl-my-packages h2,
.i3pl-portal-header h2 {
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.i3pl-track-form-inner label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.i3pl-track-input-row {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.i3pl-track-input-row input[type="text"] {
    flex: 1 1 240px;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    border: 1px solid #ccd0d4;
}

.i3pl-track-input-row button {
    padding: 0.5rem 1.25rem;
}

.i3pl-alert {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    background: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
}

/* Login & Register buttons */
.i3pl-login-button,
.i3pl-register-button {
    padding: 10px 18px;
    font-size: 15px;
    margin-right: 6px;
}

.i3pl-register-button {
    background: #ffffff;
    border-color: #0073aa;
    color: #0073aa;
}

/* Portal auth buttons */
.i3pl-portal-auth-buttons {
    margin-top: 1rem;
}

/* Status history timeline */
.i3pl-status-history {
    list-style: none;
    padding-left: 0;
    position: relative;
    margin-top: 1rem;
}

.i3pl-status-history li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.i3pl-status-point {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: #0073aa;
    margin-right: 0.75rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.i3pl-status-content {
    flex: 1;
}

.i3pl-status-meta {
    font-size: 0.8rem;
    color: #666;
    margin-top: 0.125rem;
}

.i3pl-status-note {
    font-size: 0.85rem;
    color: #333;
    margin-top: 0.25rem;
}

/* Table styling */
.i3pl-table-wrapper {
    overflow-x: auto;
    margin-top: 1rem;
}

.i3pl-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.i3pl-table th,
.i3pl-table td {
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #e2e4e7;
    text-align: left;
}

.i3pl-table th {
    background: #f7f7f7;
    font-weight: 600;
}

.i3pl-table tr:hover td {
    background: #f9fafb;
}
