@import url('https://fonts.googleapis.com/css2?family=Lobster&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow-x: hidden !important;
    font-family: Arial, sans-serif;
    background: #ffffff;
    padding: 5px 15px;
}

/* TOP SECTION */
.top-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* BUTTONS */
.btn {
    padding: 10px 18px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    margin-right: 10px;
    margin-top: 10px;
}

.red {
    background: #d9534f;
    color: #fff;
}

.gray {
    background: #7d7d7d;
    color: white;
}

/* STATUS BAR */
.status-bar {
    display: flex;
    gap: 25px;
    margin: 25px 0;
    font-size: 14px;
    flex-wrap: wrap;
}

.dot {
    height: 12px;
    width: 12px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
}

/* DOT COLORS */
.blank { background: #bdbdbd; }
.running { background: #1877f2; }
.printed { background: #22c55e; }
.paid { background: #facc15; }
.kot { background: #f97316; }

/* TITLES */
.floor-title {
    margin: 15px 0 10px 0;
    font-size: 16px;
    font-weight: bold;
}

/* PARTY HALL: Last grid only */
.grid:last-child {
    grid-template-columns: repeat(5, 1fr);
}

/* ===========================
    MOBILE RESPONSIVE
   =========================== */

/* Small mobile (max-width: 480px) */
@media screen and (max-width: 480px) {
    .top-section {
        flex-direction: column;
        align-items: flex-start;
    }

    .status-bar {
        gap: 15px;
        font-size: 12px;
    }

    .grid {
        grid-template-columns: repeat(2, 1fr); /* 2 tables per row */
        gap: 10px;
    }

    .grid:last-child {
        grid-template-columns: repeat(2, 1fr);
    }
 
}

/* ===========================
      TABLET RESPONSIVE
   =========================== */

@media screen and (max-width: 768px) {
    .grid {
        grid-template-columns: repeat(4, 1fr); /* 4 tables per row */
    }

    .grid:last-child {
        grid-template-columns: repeat(3, 1fr);
    }

 
}

/* ===========================
      SMALL LAPTOPS
   =========================== */

@media screen and (max-width: 1024px) {
    .grid {
        grid-template-columns: repeat(6, 1fr); /* 6 tables per row */
    }

    .grid:last-child {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Navbar CSS */
/* NAVBAR */
.navbar {
    width: 100%;
    background: #fff;
    padding: 5px 5px;
    display: flex;
    justify-content: space-between; 
    align-items: center;
    border-bottom: 1px solid #ddd;
    box-sizing: border-box;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-text {
    font-family: 'Lobster', cursive;
    font-size: 24px;
    color: #d9534f;
}

/* LOGO */
.logo {
    height: 60px;
    object-fit: contain;
    border-radius: 50%;
    margin-bottom: 10px;
}

/* RIGHT MENU (DESKTOP) */
.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
}
.new-order-btn {
    background: #d9534f;
    color: white;
    padding: 8px 14px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}

/* Contact Button (RIGHT SIDE) */
.contact-btn {
    background: #d9534f;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.call-icon {
    font-size: 16px;
    line-height: 0;
    color: #ffffff !important;
}
.header {
    width: 100%;
    padding: 5px 15px;
    margin: 5px 0; 
    box-sizing: border-box;
}

.main-title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #7a7a7a; /* light grey text */
}

.divider {
    border: none;
    border-top: 1px solid #d0d0d0; /* soft, clean underline */
    margin-bottom: 12px;
}
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 10px;
}

.left-controls {
    display: flex;
    align-items: center;
}

.refresh-icon {
    font-size: 24px;
    cursor: pointer;
    margin-right: 12px;
    transition: 0.3s;
    margin-top: 15px;
}


.right-controls {
    display: flex;
}

.btn {
    padding: 8px 18px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}

.red-btn {
    background-color: #d9534f;
    color: #fff;
}

.add-btn {
    background-color: #d9534f; /* blue button */
    color: white;
}


/* MOBILE MENU */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background: white;
        position: absolute;
        left: 0;
        top: 60px;
        padding: 10px 0;
        border-bottom: 1px solid #ddd;
    }

    .nav-links a {
        padding: 12px 20px;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-links.show {
        display: flex;
    }
}