/* General Body Styling */
body {
    font-size: 0.8rem; /* Set base font size to 0.8rem */
    margin: 0;
    overflow-y: hidden;
    font-family: "Arial", sans-serif;
    background-color: #f8f9fa;
}

/* Full Height Flexbox */
html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

/* Navbar Styling */
.navbar {
    border-bottom: 1px solid #f0a500;
    background-color: rgb(2, 17, 79);
    color: white;
    font-size: 0.8rem;
    text-align: center;
    padding: 10px 20px;
    position: fixed;
    width: 100%;
    bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .ankapur_chicken_logo {
    height: 50px;
    width: 175px;
    background-color: white;
}

th,
tr,
td {
    font-weight: normal;
    font-size: 0.8rem; /* Font size for table elements */
}

/* Navbar items: Center aligned in small screens */
.nav-item {
    font-size: 0.8rem; /* Font size for nav items */
    display: flex;
    justify-content: start;
    align-items: center;
    margin-left: 20px;
}

.nav-link {
    font-size: 0.8rem !important; /* Font size for nav links */
    color: white !important;
    padding: 5px 10px;
    max-width: 150px;
    width: 100%;
}

.nav-link:hover {
    color: #f0a500 !important;
}

.nav-link.active {
    font-weight:bold;
    border: 1px solid white;
    background-color: white !important;
    border-radius: 5px;
    color: rgb(2, 17, 79) !important;
}

.nav-item-logout {
    margin-left: 60px;
    border-radius: 5px;
    padding: 5px 15px;
    color: #ffffff;
    background-color: #f0a500;
    border: 1px solid #f0a500;
    font-size: 0.8rem; /* Font size for logout button */
    transition: all 0.3s ease;
}

.nav-item-logout:hover {
    background-color: #d88a00;
    border-color: #d88a00;
}

.main-content-body {
    display: flex;
    height: 100vh; /* Full viewport height */
}
.main-content {
    flex-grow: 1; /* Take the remaining space */
    height: 100vh; /* Full height */
    overflow-y: auto; /* Allow scrolling if needed */
    background: #f8f9fa; /* Light background */
}

/* Sidebar Styling */
.sidebar {
    width: 180px !important;
    min-width: 180px;
    max-width: 180px;
    overflow-x: hidden;
    white-space: nowrap;
    border-right: 1px solid #f0a500;
    background-color: rgb(2, 17, 79);
}

.sidebar .nav-item {
    margin-left: 0;
    margin-top: 10px;
    font-size: 0.8rem;
}

.sidebar .nav-link {
    font-size: 0.8rem;
    color: white;
}

.sidebar .nav-link:hover {
    color: #f0a500 !important;
}

/* Footer Styling */
footer {
    border-top: 1px solid #f0a500;
    background-color: rgb(2, 17, 79);
    color: white;
    font-size: 0.8rem;
    text-align: center;
    padding: 5px;
    position: fixed;
    width: 100%;
    bottom: 0;
}

/* Login Page Styling */
.login-page {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-image: url("storage/app/public/ankapur_chicken_logo.");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Login Container Styling */
.login-container {
    background-color: rgba(
        255,
        255,
        255,
        0.8
    ); /* Slight white background for readability */
    padding: 30px;
    border-radius: 10px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 1px solid rgb(2, 17, 79); /* Border color */
}

.login-container h2 {
    font-size: 1.5rem; /* Adjusted size for consistency */
    color: #333;
    margin-bottom: 20px;
}

/* Form Group Styling */
.form-group {
    margin-bottom: 15px;
    text-align: left;
}

.form-group label {
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 5px;
    display: block;
}
label{
font-size:0.8rem}

.form-group input {
    width: 100%;
    padding: 10px;
    font-size: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
    margin-top: 5px;
}

.form-group input:focus {
    border-color: #f0a500;
    outline: none;
}

/* Error Message Styling */
.error-message {
    color: red;
    font-size: 0.8rem;
    margin-top: 5px;
}

/* Login Button Styling */
.login-btn {
    width: 100%;
    max-width: 100px;
    padding: 12px;
    font-size: 0.8rem;
    background-color: rgb(2, 17, 79);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-btn:hover {
    background-color: rgb(34, 44, 119);
}

th,
tr,
td {
    text-transform: capitalize;
}


/* Responsive Styling */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-item {
        margin-left: 0;
        margin-top: 10px;
        font-size: 0.8rem;
    }

    .nav-item-end {
        margin-left: 0;
        margin-top: 10px;
    }

    .nav-item-logout {
        margin-left: 0;
        width: 100%;
        font-size: 0.8rem;
    }

    .sidebar {
        width: 100%;
        margin-top: 20px;
    }

    .main-content {
        margin-left: 0;
    }

    /* Adjust Login Container for Mobile */
    .login-container {
        max-width: 350px;
        margin: 0 auto;
    }

    .login-container h2 {
        font-size: 1.5rem;
    }

    .form-group input {
        padding: 10px;
    }

    .login-btn {
        padding: 10px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .navbar .ankapur_chicken_logo {
        width: 140px;
    }

    .navbar {
        padding: 10px;
    }

    .nav-item {
        font-size: 0.8rem;
    }

    .nav-item-logout {
        font-size: 0.8rem;
        width: 100%;
    }

    .login-container {
        max-width: 320px;
        padding: 20px;
    }

    .login-container h2 {
        font-size: 1.25rem;
    }

    .form-group input {
        padding: 8px;
    }

    .login-btn {
        padding: 10px;
        font-size: 0.8rem;
    }
}
.table {
    width: 100%;
    overflow-x: auto;
    display: block;
}

.select-restaurant {
    margin-right: 5px;
}

.table-header {
    width: 100%;
    background-color: rgb(2, 17, 79);
    color: white;
}

/* View Details Button */
.view-details {
    width: 100%;
    max-width: 100px;
    padding: 6px;
    color: white;
    color: rgb(2, 17, 79);
    border: none;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.view-details:hover {
    color: #f0a500;
}

/* Pagination Styling */
.pagination-links {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    margin-bottom: 50px;
}

.flex-column {
    margin-left: 8px;
}

.pagination-pages {
    padding: 8px;
}

.text-muted {
    font-weight: bold;
    font-size: 0.8rem;
}

.card-title {
    font-size: 0.8rem;
}

.pagination-links-btn {
    margin-bottom: 5px;
    text-decoration: none;
    margin-right: 5px;
    margin-left: 5px;
    width: 100%;
    max-width: 100px;
    padding: 6px;
    text-align: center;
    background-color: rgb(2, 17, 79);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.fas {
    margin-right: 5px;
}
.pagination-links-btn:hover {
    background-color: rgb(0, 10, 60);
    color: #f0a500;
}
.pagination-links-btn.disabled {
    background-color: grey;
    cursor: not-allowed;
    pointer-events: none; /* Prevents the link from being clickable */
}

.pagination-links-btn.disabled:disabled {
    background-color: grey;
    cursor: not-allowed;
}
.show-entries{
width:185px !important;
}

/* Reports Module */
.tabs {
    margin: 8px 0;
}
.tab-list {
    display: flex;
    list-style: none;
    padding: 0;
}
.tab-item a {
    border-radius:5px;
    font-size: 0.8rem;
    background-color: lightgrey;
    color: black;
    text-decoration: none;
    padding: 10px 20px;
    cursor: pointer;
    border: 1px solid #ccc;
    margin-right: 5px;
    transition: background-color 0.3s, color 0.3s;
}
.tab-item.active a {
    background-color: rgb(2, 17, 79);
    color: white;
    font-weight: bold;
}
.tab-content {
    border: 1px solid #ccc;
    padding: 20px;
}
.tab-pane {
    display: none;
}
.tab-pane.active {
    display: block;
}
