* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f0f4f8;
    color: #333;
    /* padding: 30px; */
}

.container_mess {
    max-width: 700px;
    margin: 0 auto;
    margin-top: 90px;
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

h2 {
    text-align: center;
    color: #007bff;
    font-weight: 600;
    margin-bottom: 20px;
}

h3 {
    font-weight: 500;
    color: #333;
    margin-bottom: 10px;
}

h4 {
    font-weight: 600;
    font-size: 20px; /* Increased size for headings */
    color: #444;
    margin: 15px 0 5px;
}

.dish-name {
    font-weight: 400; /* Regular weight for dish names */
    font-size: 16px; /* Font size for dish names */
    color: #555; /* Slightly darker color for contrast */
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
}

input, select, textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    transition: border 0.3s;
}

input:focus, select:focus, textarea:focus {
    border-color: #007bff;
}

button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 12px;
    cursor: pointer;
    border-radius: 6px;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.3s;
    margin-top: 10px; /* Added space between button and text field */
    width: 100%;
    font-size: 16px; /* Uniform font size for buttons */
}

button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

.no-menu {
    text-align: center;
    color: #888;
    margin-top: 10px;
}

#review-section {
    margin-top: 20px;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

#orderReview {
    margin-bottom: 20px;
}

.dish-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 15px;
}

.menu-category {
    margin-bottom: 20px;
}

.success-icon {
    text-align: center;
    margin-bottom: 20px;
}

.error {
    color: red;
    font-size: 12px;
    margin-top: -10px;
    margin-bottom: 10px;
    display: block;
}

.loader-container_mess {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8); /* Slightly transparent background */
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 1000; /* Ensure it is above other elements */
}

.loader-container_mess.active {
    display: flex; /* Show loader when active */
}


.loader {
    border: 8px solid #f3f3f3; /* Light grey */
    border-top: 8px solid #007bff; /* Blue */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-container_mess p {
    margin-top: 20px;
    font-size: 16px;
    color: #333;
}

.loader-container_mess.active {
    display: flex; /* Flex display when active */
}




.otploader-container_mess {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8); /* Slightly transparent background */
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 1000; /* Ensure it is above other elements */
}

.otploader-container_mess.active {
    display: flex; /* Show loader when active */
}


.otploader {
    border: 8px solid #f3f3f3; /* Light grey */
    border-top: 8px solid #007bff; /* Blue */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.otploader-container_mess p {
    margin-top: 20px;
    font-size: 16px;
    color: #333;
}

.otploader-container_mess.active {
    display: flex; /* Flex display when active */
}






.form-section {
    margin-bottom: 25px; /* Space between form sections */
}

.radio-group {
    display: flex; /* Use flexbox for horizontal alignment */
    align-items: center; /* Center align items vertically */
}

.radio-group input[type="radio"] {
    margin-right: 5px; /* Space between radio buttons and their labels */
}

.radio-group label {
    margin-right: 5px; /* Space between each label */
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .container_mess {
        padding: 20px;
    }

    button {
        padding: 10px;
    }

    h2 {
        font-size: 24px;
    }
}




.notification {
    display: none; /* Hidden by default */
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #007bff;
    color: white;
    padding: 15px;
    border-radius: 6px;
    z-index: 1000;
    transition: opacity 0.5s ease;
}

.notification.show {
    display: block;
    opacity: 1;
}

.notification.success {
    background-color: #28a745; /* Green for success */
}

.notification.error {
    background-color: #dc3545; /* Red for error */
}



.success-icon img {
    width: 100px;  /* Set the width of the image */
    height: auto;  /* Maintain aspect ratio */
    display: block; /* Center the image */
    margin: 0 auto 20px; /* Add some margin below */
}


/* Added by Arya */

.dish-grid label, .weekDishes label {
    display: flex;
    align-items: start;
    justify-content: start;
    gap: 1rem;
}

.dish-grid label input , .weekDishes label input {
    margin-bottom: 0;
    width: auto;
    margin-top: 3px;
}
