nav {
    width: 100;
    display: block;
    overflow: hidden;
    background-color: #4ade98;
}

* {
    padding: 0;
    margin: 0;

}

nav .nave_content .logo {
    float: left;
    padding: px;
    margin: 5px"

}

nav .nave_content .profile {
    display: block;
    overflow: hidden;
    height: inherit !important;
    float: right;

}

nav .nave_content .profile ul li {
    list-style-type: none;
    float: left;
    padding: 5px;
    margin: 8px;
    border-radius: 16px;
}

nave .nave_content .profile ul li:hover {
    background-color: #bbf7da;
    color: goldenrod;
    cursor: pointer;
}

.sub_profile {
    display: none;

}

nav .nave_content .profile ul li:hover .sub_profile {
    position: absolute;
    margin-left: -100px;
    background-color: #dcfcec;
    display: block;
}

nav .nave_content .profile ul li:hover .sub_profile ul li {
    list-style-type: none;
    width: 100%;
    float: none;
    margin: 2px;
    padding: 2px;

}

nav .nave_content .profile ul li:hover .sub_profile ul li a {
    color: black;
    text-decoration: none;
    padding: 8px;

}

nav .nave_content .profile ul li:hover .sub_profile ul li a:hover {
    color: goldenrod;
}

.container {
    width: 100%;
    height: auto;
    display: block;
    overflow: visible;

}

.container .sidebar {
    float: left;
    width: 18%;
    display: block;
    overflow: hidden;
    background-color: #d4f7df;
    height: inherit !important;


}

.container .work_space {
    float: left;
    width: 78%;
    display: block;
    overflow: hidden;
    background-color: #f5f7fb;
    height: auto;
    margin: 2%;
    border-radius: 16px;
    padding: 24px 24px 32px;
    box-sizing: border-box;
}

.container .sidebar .sidebar_tabs {
    display: block;
    overflow: hidden;
    padding: 10px;
    width: 100%;

}

.container .sidebar .sidebar_tabs ul .dash {
    text-align: center !important;
    font-size: 30px;
    font-weight: bolder;
    color: goldenrod;
    background-color: rgba(116, 5, 5, 0.2);
    padding: 8px;

}

.container .sidebar .sidebar_tabs ul li {
    padding: 8px;
    margin: 5px;
    width: 90%;
    background-color: rgba(26, 118, 67, 0.2);
    font-size: 18px;
    list-style: none;
}

.container .sidebar .sidebar_tabs ul li:hover {
    background-color: rgba(116, 5, 5, 0.2);
    cursor: pointer;
}

.container .sidebar .sidebar_tabs ul li:focus {
    background-color: black;

}

.sidebar_tab {
    display: none;
}

.container .sidebar .sidebar_tabs ul li:hover .sidebar_tab {
    display: block;
    background-color: white;
    width: 100%;

}

.container .sidebar .sidebar_tabs ul li:hover .sidebar_tab ul {
    display: block;
    overflow: hidden;
    width: 100%;
    margin: 0;
}

.container .sidebar .sidebar_tabs ul li:hover .sidebar_tab ul li {
    list-style: none;
    background-color: transparent;
    padding: 5px;

}

.container .sidebar .sidebar_tabs ul li:hover .sidebar_tab ul li a {
    text-decoration: none;
    color: black;
    padding: 2px;

}

.container .sidebar .sidebar_tabs ul li:hover .sidebar_tab ul li a:hover {
    color: goldenrod;

}

.container .sidebar .sidebar_tabs ul a {
    text-decoration: none;
    color: black;


}

.container .sidebar .sidebar_tabs ul a .logout {
    background-color: red;
    text-align: center !important;
}

.container .work_space h1 {
    font-size: 24px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
    text-align: left;
    background: transparent;
    padding: 0;
}

.container .work_space .cards {
    width: 100%;
    display: block;
    overflow: hidden;
}

.container .work_space .cards .card {
    width: 15%;
    margin: 2%;
    float: left;
    border-radius: 16px;
    background-color: rgba(133, 151, 134, 0.5);
    text-align: center !important;

}

.container .work_space .cards .card h2 {
    padding: 16px;

}

.container .work_space .cards .card .numbers {
    padding: 16px;
}

.container .work_space form {
    text-align: center !important;
    align-items: center !important;
    align-self: center !important;
    align-content: center !important;
    width: 40%;
    background-color: #bbf7da;
    margin: 2%;
    margin-left: 30%;
    border-radius: 16px;
    box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.1);

}

.container .work_space form input,
select,
textarea {
    width: 80%;
    margin-top: 10px;
    padding: 10px;
    border-style: none;
    border-radius: 16px;
}

.container .work_space form .btn {
    width: 30%;
    background-color: #4ade98;
    margin-bottom: 16px;
    font-weight: bolder;

}

.container .work_space form .btn:hover {
    background-color: #4ade98;
    cursor: pointer;
    font-weight: bolder;


}

i {
    float: left;
}

.container .work_space table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.container .work_space table th {
    padding: 8px;
    font-size: 14px;
}

.container .work_space table td {
    padding: 8px;
}

.container .work_space table td:hover {
    /* hover handled on table rows in .data-table for a cleaner modern effect */
}

/* --- Modern workspace & table styles (for view pages) --- */

.workspace-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.workspace-title-group h1 {
    margin: 0;
}

.workspace-subtitle {
    margin-top: 4px;
    font-size: 14px;
    color: #6b7280;
}

.workspace-actions {
    display: flex;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 999px;
    border: none;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
}

.primary-btn {
    background-color: #22c55e;
    color: #ffffff;
    font-weight: 600;
}

.primary-btn:hover {
    background-color: #16a34a;
    box-shadow: 0 8px 16px rgba(34, 197, 94, 0.35);
    transform: translateY(-1px);
}

.table-card {
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    padding: 16px 20px 12px;
}

.table-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.toolbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-input {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background-color: #f9fafb;
}

.search-input input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 14px;
    color: #111827;
}

.search-icon {
    font-size: 14px;
    color: #9ca3af;
}

.table-wrapper {
    overflow-x: hidden;
    /* no horizontal scrollbar */
    overflow-y: visible;
    /* avoid vertical scrollbar inside the table card */
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    color: #111827;
}

.data-table thead {
    background-color: #f9fafb;
}

.data-table th,
.data-table td {
    padding: 14px 16px;
    text-align: center;
    white-space: normal;
    /* allow wrapping so table fits without horizontal scroll */
}

.data-table th {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b7280;
    border-bottom: 1px solid #e5f0ff;
    background-color: #f3f4ff;
}

.data-table tbody tr {
    border-bottom: 1px solid #f3f4f6;
    transition: background-color 0.15s ease;
}

.data-table tbody tr:nth-child(even) {
    background-color: #ffffff;
}

.data-table tbody tr:nth-child(odd) {
    background-color: #f9fafb;
}

.data-table tbody tr:hover {
    background-color: #eef2ff;
}

.data-table tbody tr:last-child {
    border-bottom: none;
}

.data-table .text-left {
    text-align: left;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
}

.status-success {
    background-color: #dcfce7;
    color: #166534;
}

.status-muted {
    background-color: #e5e7eb;
    color: #4b5563;
}

.table-actions-column {
    text-align: right;
}

.table-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.link-btn {
    border: none;
    background: transparent;
    color: #2563eb;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 8px;
}

.link-btn:hover {
    background-color: #eff6ff;
}

.table-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #e5e7eb;
    font-size: 13px;
    color: #6b7280;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 4px;
}

.page-btn {
    min-width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background-color: #ffffff;
    cursor: pointer;
    font-size: 13px;
    color: #4b5563;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.page-btn.is-active {
    background-color: #111827;
    color: #ffffff;
    border-color: #111827;
}

.page-btn:disabled {
    opacity: 0.4;
    cursor: default;
}

/* --- Logged-in home hero: "Fresh Harvest" style --- */

.fresh-hero {
    background-color: #fef3c7;
    /* soft yellow */
    border-radius: 24px;
    padding: 32px 40px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 260px;
}

.fresh-hero-left {
    max-width: 55%;
}

.fresh-hero-logo {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 8px;
}

.fresh-hero-title {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
    color: #15803d;
}

.fresh-hero-text {
    font-size: 14px;
    max-width: 420px;
    color: #374151;
    margin-bottom: 18px;
}

.fresh-hero-btn {
    padding: 10px 26px;
    border-radius: 999px;
    border: none;
    background-color: #16a34a;
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
}

.fresh-hero-btn:hover {
    background-color: #15803d;
}

.fresh-hero-nav {
    font-size: 13px;
    margin-bottom: 12px;
    display: flex;
    gap: 18px;
}

.fresh-hero-nav span {
    cursor: default;
}

.fresh-hero-nav .active {
    color: #15803d;
    font-weight: 600;
}

.fresh-hero-right img {
    max-height: 200px;
    object-fit: contain;
}

/* Login page background image */
html,
body {
    height: 100%;
}

body.login-page-bg {
    /* CSS file is in Admin/assets/css → go up three levels to reach /EFOOD/images */
    background: url("../../../images/food1.jpg") no-repeat center center fixed !important;
    background-size: cover !important;
}

.customer-dashboard-bg {
    background: url("../../../images/food%205.jpg") no-repeat center center fixed;
    background-size: cover;
}

.home-page-bg {
    background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url("../../../images/food%205.jpg") no-repeat center center fixed;
    background-size: cover;
}

.customer-hero-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.35);
}

.customer-hero-bg {
    background: url("../../../images/food%205.jpg") no-repeat center center;
    background-size: cover;
    min-height: 220px;
    filter: brightness(0.7);
}

.customer-hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px 32px;
    color: #f9fafb;
}

.customer-hero-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 6px;
}

.customer-hero-subtitle {
    font-size: 14px;
    max-width: 420px;
}

.login-illustration {
    text-align: center;
    color: #ffffff;
}

.login-illustration img {
    max-width: 100%;
    border-radius: 16px;
}

.login-illustration-title {
    font-size: 24px;
    font-weight: 700;
    margin-top: 12px;
}

.login-panel {
    background-color: #e5f9ed;
    /* pale green */
}

/* Public dashboard (after login) - food ordering layout */

.public-dashboard-hero {
    background: linear-gradient(135deg, #bbf7d0, #22c55e);
    border-radius: 24px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.public-dashboard-hero-text h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
}

.public-dashboard-hero-text p {
    margin-bottom: 10px;
    font-size: 14px;
}

.public-dashboard-hero img {
    max-height: 120px;
    border-radius: 999px;
}

.category-pills {
    margin: 8px 0 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-pill {
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background-color: #ffffff;
    font-size: 13px;
    cursor: pointer;
}

.category-pill.active {
    background-color: #16a34a;
    color: #ffffff;
    border-color: #16a34a;
}

.product-card-mini {
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    background-color: #ffffff;
    height: 100%;
}

.product-card-mini img {
    height: 110px;
    width: 100%;
    object-fit: cover;
}

.product-card-mini-body {
    padding: 10px 12px 12px;
}

.product-card-mini-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.product-card-mini-price {
    font-size: 13px;
    font-weight: 600;
    color: #16a34a;
}

.order-summary-card {
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
    padding: 16px;
    background-color: #ffffff;
}

.order-summary-list {
    max-height: 240px;
    overflow-y: auto;
    margin-bottom: 12px;
}

.order-summary-item {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    padding: 4px 0;
}