/* Background Styling */
body {
    background: url('../images/foodbg.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #e0e1dd;
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
}

/* Dark Overlay for Readability */
body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.8); /* Dark transparent overlay */
    z-index: -1;
}


.navbar {
     background: rgba(10, 25, 47, 0.9);
}
.navbar .nav-link {
    color: #f4a261 !important;
}
.navbar .nav-link:hover {
    color: #e76f51 !important;
}
.dropdown-menu {
    background: #0a192f;
    border: 1px solid #f4a261;
}
.dropdown-item {
    color: #e0e1dd;
}
.dropdown-item:hover {
    background: #f4a261;
    color: #0a192f;
}
.container {
    margin-top: 20px;
}
.card {
    background: rgba(10, 25, 47, 0.9);
    border: 1px solid #f4a261;
    color: #e0e1dd;
    text-align: center;
}
.card i {
    font-size: 40px;
    color: #f4a261;
}

/* Login & Card Containers */
.login-container, .card-container {
    background: rgba(10, 25, 47, 0.95);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(244, 162, 97, 0.5);
    text-align: center;
    width: 350px;
}

/* Form Styling */
.form-control {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(244, 162, 97, 0.6);
    color: #e0e1dd;
    padding: 12px;
    border-radius: 8px;
    transition: 0.3s ease-in-out;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-color: #f4a261;
    box-shadow: 0 0 10px rgba(244, 162, 97, 0.5);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(90deg, #f4a261, #e76f51);
    border: none;
    transition: 0.3s;
    color: #0a192f;
    font-weight: bold;
    padding: 10px;
    border-radius: 8px;
}

.btn-primary:hover {
    background: linear-gradient(90deg, #e76f51, #f4a261);
    transform: scale(1.05);
}

/* Table Styling */
.table-container {
    width: 100%;
    max-width: 1100px;
    margin: auto;
    padding: 20px;
    background: rgba(10, 25, 47, 0.9);
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(244, 162, 97, 0.4);
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 8px;
    overflow: hidden;
    color: #e0e1dd;
}

.table th {
    background: #f4a261;
    color: #0a192f;
    padding: 12px;
    text-align: left;
}

.table td {
    padding: 10px;
    border-bottom: 1px solid rgba(244, 162, 97, 0.3);
}

.table tr:hover {
    background: rgba(244, 162, 97, 0.1);
}

/* Dashboard Cards */
.card {
    background: rgba(10, 25, 47, 0.95);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(244, 162, 97, 0.4);
    transition: 0.3s ease-in-out;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(244, 162, 97, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .table-container {
        padding: 10px;
    }
    
    .login-container, .card-container {
        width: 90%;
    }
}
