/* admin_search_orders.css */

body {
    font-family: Arial, sans-serif;
    background-color: #f7f7f7;
    color: #333;
    margin: 0;
    padding: 0;
}

.dashboard-container {
    padding: 30px;
    max-width: 95%;
    margin: auto;
}

h2 {
    text-align: center;
    color: #222;
    margin-bottom: 30px;
}

form.search-form {
    text-align: center;
    margin-bottom: 30px;
}

form.search-form input[type="text"],
form.search-form input[type="date"] {
    padding: 10px;
    font-size: 16px;
    width: 280px;
    margin: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

form.search-form select {
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    margin-left: 10px;
}

form.search-form input[type="submit"] {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #2196F3;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-left: 10px;
}

form.search-form input[type="submit"]:hover {
    background-color: #0b7dda;
}

table.orders-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    margin-bottom: 40px;
}

table.orders-table th,
table.orders-table td {
    border: 1px solid #ccc;
    padding: 12px;
    text-align: center;
}

table.orders-table th {
    background-color: #f2f2f2;
}

table.orders-table tr:hover {
    background-color: #f9f9f9;
}

.status-delivered {
    color: green;
    font-weight: bold;
}

.status-pending {
    color: red;
    font-weight: bold;
}

.status-confirmed {
    color: orange;
    font-weight: bold;
}

.back-button {
    text-align: center;
    margin-top: 20px;
}

.back-button a {
    text-decoration: none;
    font-size: 18px;
    background-color: #FFC107;
    padding: 10px 20px;
    border-radius: 8px;
    color: #000;
}
.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: bold;
    display: inline-block;
}

.status-pending {
    background-color: #ffebee;
    color: #d32f2f;
}

.status-confirmed {
    background-color: #fff8e1;
    color: #f57c00;
}

.status-delivered {
    background-color: #e8f5e9;
    color: #388e3c;
}
