﻿body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #F5FBE6;
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .nav-list li {
        display: inline;
        margin-right: 20px;
    }

    .nav-list a {
        text-decoration: none;
        color: white;
    }

.right {
    float: right;
}

.dropdown {
    display: none;
    position: absolute;
    background-color: #215E61;
    list-style: none;
    padding: 10px;
}

.menu {
    color: #FE7F2D;
    font-size: 18px;
    cursor: pointer;
}

    .menu:hover .dropdown {
        display: block;
    }

.dropdown li {
    display: block;
    margin: 5px 0;
}

.section {
    padding: 20px;
}

    .section a {
        text-decoration: none;
        color: inherit;
    }

h2 {
    color: #233D4D;
}

.box {
    width: 150px;
    height: 80px;
    border: 2px solid #215E61;
    display: inline-block;
    text-align: center;
    line-height: 80px;
    margin: 10px;
    background: white;
}

    .box:hover {
        background-color: #FE7F2D;
        color: white;
    }

.footer {
    background-color: #233D4D;
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: 80px;
}

    .footer a {
        color: #F5FBE6;
        text-decoration: none;
    }

header {
    background-color: #233D4D;
    color: white;
    text-align: center;
    padding: 20px;
}

.container {
    padding: 20px;
}

.card {
    background: white;
    border: 2px solid #215E61;
    padding: 20px;
    margin-bottom: 20px;
}

input, select {
    width: 100%;
    padding: 8px;
    margin: 8px 0;
    border: 1px solid #215E61;
}

button {
    background-color: #FE7F2D;
    color: white;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
}

    button:hover {
        background-color: #215E61;
    }

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

th {
    background-color: #233D4D;
    color: white;
    padding: 10px;
}

td {
    padding: 10px;
    border-bottom: 1px solid #ccc;
}

.auth-box {
    width: 300px;
    margin: 80px auto;
    background: white;
    padding: 40px;
    border: 2px solid #215E61;
    text-align: center;
}

    .auth-box h2 {
        color: #233D4D;
    }

    .auth-box input {
        width: 100%;
        padding: 8px;
        margin: 8px 0;
        border: 1px solid #215E61;
    }

    .auth-box button {
        width: 100%;
        padding: 8px;
        background-color: #FE7F2D;
        color: white;
        border: none;
        cursor: pointer;
    }

        .auth-box button:hover {
            background-color: #215E61;
        }

.switch {
    margin-top: 10px;
}

    .switch a {
        color: #FE7F2D;
        text-decoration: none;
    }

.checkout-btn {
    width: 100%;
    padding: 10px;
    font-size: 16px;
}

/* CHEF */
.chef-bg {
    background-color: #F5FBE6;
}

.kitchen-container {
    width: 95%;
    margin: 30px auto;
    padding: 25px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(35, 61, 77, 0.1);
}

.chef-grid {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    border-radius: 10px;
    overflow: hidden;
}

    .chef-grid th {
        background-color: #233D4D;
        color: #F5FBE6;
        padding: 18px;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-size: 0.9em;
        border: none;
    }

    .chef-grid td {
        padding: 20px;
        border-bottom: 1px solid #eee;
        color: #233D4D;
        font-size: 1.1em;
    }

    .chef-grid tr:nth-child(even) {
        background-color: #fafafa;
    }

.order-items-list {
    color: #b22222;
    font-weight: bold;
    display: block;
    line-height: 1.4;
}

.btn-ready {
    background-color: #FE7F2D !important;
    color: white !important;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s ease;
}

    .btn-ready:hover {
        background-color: #233D4D !important;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }

.status-msg {
    display: block;
    padding: 15px;
    margin-bottom: 20px;
    background-color: #F5FBE6;
    border-left: 5px solid #FE7F2D;
    color: #233D4D;
    font-weight: bold;
    border-radius: 4px;
}

.portal-selection {
    text-align: center;
    padding-top: 100px;
}

    .portal-selection h1 {
        color: #233D4D;
        font-size: 2.5em;
        margin-bottom: 40px;
    }

.choice-grid {
    display: flex;
    gap: 40px;
    justify-content: center;
}

.choice-box {
    background: white;
    border: 2px solid #215E61;
    border-radius: 12px;
    padding: 40px;
    width: 280px;
    text-decoration: none;
    color: #233D4D;
    display: block;
    transition: all 0.3s ease;
}

    .choice-box:hover {
        background-color: #FE7F2D;
        color: white;
        transform: translateY(-10px);
        border-color: #FE7F2D;
    }

    .choice-box h2 {
        color: inherit;
        margin: 15px 0;
    }

    .choice-box p {
        font-size: 0.9em;
        opacity: 0.8;
    }

.icon {
    font-size: 60px;
    margin-bottom: 10px;
}

/* CASHIER */
.cashier-portal .kitchen-container {
    max-width: 1100px;
    margin: 30px auto;
    background: #ffffff;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(35, 61, 77, 0.1);
    border-top: 8px solid #FE7F2D;
}

.cashier-portal .dash-title {
    color: #233D4D;
    font-size: 28px;
    margin-bottom: 25px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.cashier-portal .cashier-nav {
    display: flex;
    background: #f0f3f5; /* Light gray-blue track */
    padding: 6px;
    border-radius: 14px;
    margin-bottom: 35px;
    gap: 8px;
    border: 1px solid #e1e8ed;
}

.cashier-portal .nav-item {
    flex: 1;
    padding: 14px 20px;
    text-align: center;
    text-decoration: none;
    color: #546e7a;
    font-weight: 700;
    font-size: 15px;
    border-radius: 10px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

    .cashier-portal .nav-item:hover {
        background: rgba(255, 255, 255, 0.6);
        color: #233D4D;
    }

.cashier-portal .active-tab {
    background: #233D4D !important; /* Dark Navy for the selected tab */
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(35, 61, 77, 0.25);
}

.cashier-portal .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.cashier-portal .stat-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 16px;
    text-align: left;
    border: 1px solid #edf2f7;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    transition: transform 0.3s ease;
}

    .cashier-portal .stat-card:hover {
        transform: translateY(-5px);
    }

.cashier-portal .stat-label {
    color: #718096;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 8px;
}

.cashier-portal .stat-value {
    color: #233D4D;
    font-size: 32px;
    font-weight: 800;
    margin: 0;
}

.cashier-portal .view-header {
    margin-bottom: 20px;
    border-bottom: 2px solid #f0f3f5;
    padding-bottom: 15px;
}

    .cashier-portal .view-header h3 {
        margin: 0;
        color: #233D4D;
        font-size: 20px;
    }

    .cashier-portal .view-header p {
        color: #718096;
        margin: 5px 0 0 0;
        font-size: 14px;
    }

.cashier-portal .price-tag {
    font-family: 'Courier New', Courier, monospace;
    font-weight: 700;
    color: #2d3748;
    background: #edf2f7;
    padding: 4px 8px;
    border-radius: 4px;
}

.cashier-portal .btn-approve {
    background: #FE7F2D;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.5px;
}

    .cashier-portal .btn-approve:hover {
        background: #233D4D;
        box-shadow: 0 4px 10px rgba(254, 127, 45, 0.2);
    }

.cashier-portal .details-panel {
    background: #f8fafc;
    padding: 25px;
    margin-top: 25px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    border-left: 6px solid #FE7F2D;
}
/* CASHIER END */
.small-card {
    width: 240px;
    display: inline-block;
    margin: 15px;
    background: white;
    border: 1px solid #e1e8ed;
    padding: 25px;
    border-radius: 12px;
    transition: 0.3s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    text-align: center;
}

    .small-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(35, 61, 77, 0.1);
        border-color: #FE7F2D;
    }

.btn-fake {
    display: inline-block;
    margin-top: 15px;
    background-color: #FE7F2D;
    color: white;
    padding: 8px 20px;
    border-radius: 5px;
    font-size: 0.9em;
    font-weight: bold;
}

.navbar {
    background-color: #233D4D;
    width: 100%;
    padding: 15px 0;
    display: flex;
    justify-content: center;
}

.nav-container {
    width: 90%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left, .nav-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #FE7F2D;
    letter-spacing: 2px;
    margin-right: 10px;
}

.search-area {
    background-color: #F5FBE6; /* Matches your body color exactly */
    padding: 40px 0;
    display: flex;
    justify-content: center;
}

.search-box {
    display: flex;
    align-items: center;
    background: white;
    width: 50%;
    max-width: 600px;
    padding: 5px 20px;
    border-radius: 30px;
    border: 2px solid #215E61;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.search-input {
    flex: 1;
    border: none !important; /* Removes the boxy borders */
    outline: none;
    padding: 12px;
    font-size: 16px;
    background: transparent;
}

.search-icon-btn {
    text-decoration: none;
    font-size: 20px;
    color: #FE7F2D;
    padding: 0 10px;
    transition: 0.3s;
}

    .search-icon-btn:hover {
        color: #233D4D;
    }

.category-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.btn-orange-search {
    background-color: #FE7F2D;
    color: white;
    border: none;
    padding: 10px 15px;
    width: 100%;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 10px;
    transition: 0.3s;
}

    .btn-orange-search:hover {
        background-color: #233D4D;
    }

.qty-input {
    width: 100%;
    padding: 8px;
    margin: 5px 0 10px 0;
    border: 1px solid #215E61;
    border-radius: 4px;
    text-align: center;
}

.cart-controls {
    text-align: left;
    padding: 10px;
}
