* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', sans-serif;
    overflow: hidden;
}
.slider-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}
.slider-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.slider-image.active {
    opacity: 1;
}
.modal {
    display: flex;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
}
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
}
.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
}
.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
.next-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
/* Dashboard Styles */
.dashboard-container {
    display: none;
    height: 100vh;
    flex-direction: column;
}
.dashboard-container.active {
    display: flex;
}
/* TOP SECTION: MAP AND CONTROLS */
.top-section {
    flex: 1;
    display: flex;
    flex-direction: row;
    position: relative;
    background: #f0f0f0;
    overflow: hidden;
}
.left-panel {
    width: 60px;
    background: white;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    gap: 20px;
    z-index: 10;
}
.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f0f0;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #333;
    transition: all 0.3s;
}
.icon-btn:hover {
    background: #e0e0e0;
    transform: scale(1.1);
}
.divider {
    width: 30px;
    height: 2px;
    background: #ddd;
    margin: 10px 0;
}
#map {
    flex: 1;
    width: 100%;
    position: absolute;
    top: 0;
    left: 60px;
    right: 0;
    bottom: 0;
    z-index: 1;
}
.search-panel {
    position: absolute;
    top: 20px;
    left: 80px;
    max-width: 600px;
    background: white;
    border-radius: 12px;
    padding: 12px 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 10px;
}
.search-input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
}
.search-input:focus {
    outline: none;
    border-color: #3b82f6;
}
.search-icon-btn {
    background: white;
    border: 2px solid #e0e0e0;
    padding: 10px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    color: #666;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.search-icon-btn:hover {
    background: #f0f0f0;
    border-color: #3b82f6;
    color: #3b82f6;
}
.filter-buttons {
    position: absolute;
    top: 20px;
    right: 20px;
    display: none;
    gap: 10px;
    z-index: 20;
}
.filter-btn {
    background: white;
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s;
}
.filter-btn:hover {
    background: #f0f0f0;
}
.map-controls {
    position: absolute;
    bottom: 20px;
    left: 80px;
    display: flex;
    gap: 10px;
    z-index: 50;
}
.map-control-btn {
    width: 40px;
    height: 40px;
    background: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s;
}
.map-control-btn:hover {
    background: #f0f0f0;
}
/* Custom Food Marker Styles */
.food-marker-container {
    position: relative;
    width: 60px;
    height: 60px;
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: transform 0.3s;
}
.food-marker-container:hover {
    transform: scale(1.1);
    z-index: 1000;
}
.status-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.status-red { background-color: #ef4444; }
.status-yellow { background-color: #f59e0b; }
.status-green { background-color: #10b981; }

/* BOTTOM SECTION: MENU */
.bottom-section {
    flex: 1;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('https://images.unsplash.com/photo-1546069901-ba9599a7e63c?q=80&w=2080&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}
.menu-wrapper {
    display: flex;
    gap: 30px;
    width: 100%;
    max-width: 1400px;
    align-items: center;
    justify-content: center;
}
.menu-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    flex: 1;
}
.menu-item {
    background: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    min-height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}
.menu-item-icon {
    font-size: 32px;
    margin-bottom: 10px;
    color: #3b82f6;
}
.menu-item-text {
    font-size: 13px;
    font-weight: 600;
    color: #333;
}
.bottom-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}
.footer-btn {
    background: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s;
    width: 120px;
    justify-content: center;
}
.footer-btn:hover {
    background: #f0f0f0;
}
.modal-filter {
    display: flex;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    align-items: center;
    justify-content: center;
}
.modal-filter-content {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.modal-filter-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
}
.filter-option {
    padding: 10px;
    margin: 8px 0;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}
.filter-option:hover {
    background: #f0f0f0;
    border-color: #3b82f6;
}
.close-modal-btn {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 20px;
    width: 100%;
}
/* Landing Page Styles */
.landing-page {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 5;
}
.landing-page.hidden {
    display: none;
}
/* Kitchen Owner Dashboard Styles */
.owner-dashboard-container {
    display: none;
    height: 100vh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
    z-index: 10;
}
.owner-dashboard-container.active {
    display: flex;
}
.owner-header {
    text-align: center;
    margin-bottom: 30px;
    z-index: 20;
}
.owner-greeting {
    font-size: 48px;
    font-weight: 900;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    font-style: italic;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}
.owner-greeting i {
    margin-right: 15px;
    font-size: 52px;
}
.owner-subtitle {
    font-size: 18px;
    color: white;
    font-weight: 500;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}
.owner-map-container {
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    overflow: hidden;
    position: relative;
    z-index: 20;
}
#ownerMap {
    width: 100%;
    height: 100%;
}
.owner-map-marker-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    font-size: 14px;
    font-weight: 600;
    color: #333;
    pointer-events: auto;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 8px;
}
.owner-map-marker-text i {
    color: #3b82f6;
    font-size: 16px;
}
/* Fullscreen Map Modal */
.fullscreen-map-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 200;
}
.fullscreen-map-modal.active {
    display: flex;
    flex-direction: column;
}
#fullscreenMap {
    flex: 1;
    width: 100%;
}
.map-selection-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: white;
    border-top: 1px solid #e0e0e0;
    gap: 20px;
}
.map-selection-controls button {
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}
.map-back-btn {
    background: #ef4444;
    color: white;
}
.map-back-btn:hover {
    background: #dc2626;
}
.map-next-btn {
    background: #3b82f6;
    color: white;
}
.map-next-btn:hover {
    background: #2563eb;
}
.map-next-btn:disabled {
    background: #bfdbfe;
    cursor: not-allowed;
}
.selected-location-info {
    padding: 15px 20px;
    background: #f0f9ff;
    border-bottom: 1px solid #e0e0e0;
    font-size: 14px;
    color: #333;
}
/* Kitchen Management Page */
.kitchen-management-container {
    display: none;
    height: 100vh;
    flex-direction: column;
    position: relative;
    z-index: 10;
}
.kitchen-management-container.active {
    display: flex;
}
.kitchen-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    text-align: center;
}
.kitchen-header h1 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
}
.kitchen-header p {
    font-size: 14px;
    opacity: 0.9;
}
.kitchen-content {
    flex: 1;
    overflow-y: auto;
    padding: 30px;
    background: rgba(0,0,0,0.3);
}
.kitchen-form-group {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.kitchen-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}
.kitchen-form-group input,
.kitchen-form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
}
.kitchen-form-group input:focus,
.kitchen-form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
}
.kitchen-action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}
.kitchen-action-buttons button {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-save {
    background: #10b981;
    color: white;
}
.btn-save:hover {
    background: #059669;
}
.btn-cancel {
    background: #ef4444;
    color: white;
}
.btn-cancel:hover {
    background: #dc2626;
}
/* Universal Back Button */
.back-button-header {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 100;
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #333;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: all 0.3s;
}
.back-button-header:hover {
    background: #f0f0f0;
    transform: scale(1.1);
}
.dashboard-container {
    position: relative;
}
.owner-dashboard-container {
    position: relative;
}
.kitchen-management-container {
    position: relative;
}