body {
    font-family: 'Prompt', sans-serif;
    background-color: #e9ecef;
    margin: 0;
    min-height: 100vh;
}
.container {
    max-width: 1200px;
    margin: auto;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    width: 100%;
}
.login-container {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    width: 350px;
    text-align: center;
}
.logo-area {
    margin-bottom: 20px;
}
.logo-area img {
    max-width: 150px;
    height: auto;
}
h1 {
    color: #343a40;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
}
h2 {
    color: #495057;
    border-bottom: 2px solid #007bff;
    padding-bottom: 5px;
    margin-top: 0;
}
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.logout-btn {
    background-color: #dc3545;
    color: white;
    padding: 8px 15px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}
.logout-btn:hover {
    background-color: #c82333;
}
.section {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    box-shadow: inset 0 0 8px rgba(0,0,0,0.05);
}
.form-group {
    margin-bottom: 20px;
    text-align: left;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 600;
}
.form-group input, .form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-group input:focus, .form-group select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    outline: none;
}
.error-message {
    color: #d9534f;
    margin-bottom: 15px;
    font-weight: bold;
}
.login-btn, .btn {
    width: 100%;
    padding: 12px;
    border: none;
    background-color: #007bff;
    color: white;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.login-btn:hover, .btn:hover {
    background-color: #0056b3;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    border-radius: 8px;
    overflow: hidden;
}
table, th, td {
    border: 1px solid #dee2e6;
}
th, td {
    padding: 12px;
    text-align: left;
}
th {
    background-color: #e9ecef;
    font-weight: 600;
}
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-weight: bold;
    border: 1px solid transparent;
}
.alert.success {
    background-color: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}
.alert.error {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}
.nav-menu {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    gap: 10px;
}
.nav-menu button {
    padding: 12px 24px;
    border: 1px solid #ced4da;
    background-color: #f2f2f2;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    font-weight: bold;
}
.nav-menu button:hover, .nav-menu button.active {
    background-color: #007bff;
    color: white;
    border-color: #0056b3;
}
.content-section {
    display: none;
}
.content-section.active {
    display: block;
}
.item-status-btn {
    padding: 6px 12px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    color: white;
    display: inline-block;
}
.status-active {
    background-color: #28a745;
}
.status-active:hover {
    background-color: #218838;
}
.status-inactive {
    background-color: #6c757d;
}
.status-inactive:hover {
    background-color: #5a6268;
}

/* New styles for edit form buttons */
.form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end; /* Align buttons to the right */
    margin-top: 20px;
}
.form-actions .btn {
    width: auto;
}
.btn-secondary {
    background-color: #6c757d;
    color: white;
}
.btn-secondary:hover {
    background-color: #5a6268;
}

/* Styles for Merchant Dashboard */
.order-status {
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: bold;
    font-size: 1.1rem;
}
.status-active {
    background-color: #d4edda;
    color: #155724;
}
.status-inactive {
    background-color: #f8d7da;
    color: #721c24;
}
.item-card {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.item-card img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 15px;
}
.item-details {
    flex-grow: 1;
}
.item-details h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
}
.item-details p {
    margin: 0;
    color: #6c757d;
}
.quantity-control {
    display: flex;
    align-items: center;
    gap: 10px;
}
.quantity-control input[type="number"] {
    width: 80px; /* Increased size for mobile */
    font-size: 1.2rem; /* Increased font size for mobile */
    padding: 10px; /* Increased padding */
    text-align: center;
}
.total-price {
    font-size: 1.4rem; /* Increased size */
    font-weight: bold;
    margin-top: 20px;
    text-align: right;
}
.order-table th, .order-table td {
    white-space: nowrap;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .container, .login-container {
        padding: 20px;
        width: 95%;
    }
    .header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .header span, .header a {
        font-size: 0.9rem;
    }
    .item-card {
        flex-wrap: wrap;
        text-align: center;
        justify-content: center;
    }
    .item-card img {
        margin-bottom: 10px;
        margin-right: 0;
    }
    .quantity-control {
        margin-top: 10px;
    }
}
