body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f4f7f9;
    color: #333;
    margin: 0;
    padding: 20px;
}
.container {
    max-width: 1600px;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.action-section {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border: 1px dashed #ccc;
    border-radius: 6px;
}
.heading-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #eef2f5;
    padding-bottom: 10px;
}
h1, h2, h3 {
    color: #1a2b4d;
    border-bottom: none;
    padding-bottom: 0;
    margin: 0 0 10px 0;
}
textarea {
    width: 100%;
    height: 100px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 10px;
    box-sizing: border-box;
}
button {
    background-color: #fd7e14;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s;
}
button:hover {
    background-color: #e66a03;
}
button:disabled {
    background-color: #fecba1;
    cursor: not-allowed;
}
.refresh-btn, .secondary-btn {
    display: inline-block;
    background-color: #6c757d;
    color: white;
    border: 1px solid #6c757d;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
    vertical-align: middle;
}
.refresh-btn:hover, .secondary-btn:hover {
    background-color: #5a6268;
}
.delete-btn, .update-btn {
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 18px;
    padding: 5px;
    line-height: 1;
}
.delete-btn { color: #dc3545; }
.update-btn { color: #007bff; }
.delete-btn:hover { color: #c82333; }
.update-btn:hover { color: #0056b3; }

.logout-btn {
    background: none;
    border: none;
    color: #007bff;
    cursor: pointer;
    text-decoration: underline;
    font-size: 14px;
    vertical-align: middle;
}
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.status-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 6px;
    display: none;
}
.status-message.success { background-color: #e6f7ec; color: #0f5132; }
.status-message.error { background-color: #f8d7da; color: #842029; }

.filter-bar {
    margin-top: 30px;
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.filter-btn {
    background-color: #e9ecef;
    color: #495057;
    padding: 8px 16px;
    font-size: 14px;
}
.filter-btn:hover {
    background-color: #ced4da;
}
.filter-btn.active {
    background-color: #fd7e14;
    color: white;
}
.filter-btn .count {
    font-size: 0.9em;
    margin-left: 5px;
    background-color: rgba(0,0,0,0.1);
    padding: 2px 6px;
    border-radius: 10px;
}
.filter-btn.active .count {
    background-color: rgba(255,255,255,0.2);
}

.shipments-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
.shipments-table th, .shipments-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eef2f5;
}
.shipments-table th {
    background-color: #f8f9fa;
    font-weight: 600;
}
.shipments-table tbody tr:hover {
    background-color: #f1f3f5;
}
tr.status-announced { border-left: 4px solid #17a2b8; }
tr.status-in-transit { border-left: 4px solid #fd7e14; }
tr.status-delivered { border-left: 4px solid #28a745; }
tr.status-error { border-left: 4px solid #dc3545; }

details > summary {
    cursor: pointer;
    font-weight: 500;
    color: #007bff;
}
.status-dashboard p { margin: 5px 0; font-size: 14px; }
.status-dashboard span { font-weight: bold; }

.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    gap: 15px;
}
.pagination-container button:disabled {
    background-color: #e9ecef;
    color: #adb5bd;
    cursor: not-allowed;
}
#pageInfo {
    font-weight: 500;
    color: #495057;
}
