body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y="50%" font-size="50" fill="rgba(102,126,234,0.1)">🌶️</text></svg>');
    background-size: 100px 100px;
    animation: float 20s infinite linear;
    pointer-events: none;
}

@keyframes float {
    0% { transform: translateX(-100px) translateY(0); }
    100% { transform: translateX(calc(100vw + 100px)) translateY(-100vh); }
}

/* Hero Section */
#hero {
    position: relative;
    height: 100vh;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ff4757 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
    z-index: 2;
    position: relative;
}

.hero-text {
    flex: 1;
    color: white;
    text-align: left;
    animation: fadeInUp 1s ease-out;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin: 0 0 20px 0;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    background: linear-gradient(45deg, #fff, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 1.3rem;
    margin: 0 0 30px 0;
    opacity: 0.9;
    font-weight: 300;
}

.hero-btn {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(45deg, #ff4757, #ff6b35);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 71, 87, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 71, 87, 0.4);
    background: linear-gradient(45deg, #ff6b35, #ff4757);
}

.hero-images {
    flex: 1;
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chili-bg {
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    animation: floatChili 6s ease-in-out infinite;
}

.chili-bg-1 {
    top: 20px;
    left: 20px;
    animation-delay: 0s;
}

.chili-bg-2 {
    bottom: 20px;
    right: 20px;
    animation-delay: 2s;
}

.floating-chili {
    position: absolute;
    font-size: 4rem;
    animation: bounceChili 3s ease-in-out infinite;
    z-index: 3;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatChili {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateY(-10px) rotate(-5deg);
    }
    75% {
        transform: translateY(-30px) rotate(3deg);
    }
}

@keyframes bounceChili {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) scale(1);
    }
    40% {
        transform: translateY(-20px) scale(1.1);
    }
    60% {
        transform: translateY(-10px) scale(1.05);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    z-index: 1;
}

/* Dashboard Styles */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card h3 {
    margin: 0 0 15px 0;
    font-size: 16px;
    font-weight: 300;
    opacity: 0.9;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
}

#order-history {
    margin-top: 20px;
}

.order-item {
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-left: 5px solid #667eea;
}

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

.order-id {
    font-weight: 600;
    color: #667eea;
    font-size: 18px;
}

.order-status {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.order-status.pending {
    background: #fff3cd;
    color: #856404;
}

.order-status.processing {
    background: #cce5ff;
    color: #004085;
}

.order-status.completed {
    background: #d4edda;
    color: #155724;
}

.order-status.cancelled {
    background: #f8d7da;
    color: #721c24;
}

.order-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

.order-detail {
    display: flex;
    flex-direction: column;
}

.order-detail-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 5px;
}

.order-detail-value {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.order-total {
    text-align: right;
    font-size: 18px;
    font-weight: 700;
    color: #667eea;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #f0f0f0;
}

.no-orders {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.no-orders p {
    color: #666;
    font-size: 16px;
    margin: 0;
}

.no-orders a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.no-orders a:hover {
    text-decoration: underline;
}

/* Guest Checkout Banner */
.guest-banner {
    background: linear-gradient(135deg, #e8f5e8 0%, #f3e5f5 100%);
    border: 3px solid #4caf50;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.2);
}

.guest-banner-content h3 {
    color: #2e7d32;
    margin: 0 0 10px 0;
    font-size: 1.4rem;
}

.guest-banner-content p {
    color: #424242;
    margin: 0 0 15px 0;
    font-size: 1.1rem;
    font-weight: 500;
}

.guest-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.guest-features span {
    background: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #2e7d32;
    border: 2px solid #4caf50;
    font-weight: 600;
}

/* Order Instructions */
.order-instructions {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
}

.order-instructions p {
    font-weight: bold;
    color: #495057;
    margin: 0 0 10px 0;
}

.order-instructions ol {
    margin: 0;
    padding-left: 20px;
}

.order-instructions li {
    margin-bottom: 5px;
    color: #6c757d;
    line-height: 1.5;
}

/* Enhanced Form Styles */
#order-form, #batch-form {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 25px;
}

#batch-form {
    max-width: 500px;
    margin: 0 auto;
}

.batch-submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 15px;
}

.batch-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
}

#order-form h3 {
    color: #667eea;
    margin-top: 0;
    font-size: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: bold;
    color: #495057;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 3px solid #e9ecef;
    border-radius: 10px;
    font-size: 1.1rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-help {
    display: block;
    color: #6c757d;
    font-size: 0.9rem;
    margin-top: 5px;
    font-style: italic;
}

.total-section {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 15px;
    margin: 20px 0;
    text-align: center;
}

.total-price {
    font-size: 1.4rem;
    font-weight: bold;
    color: #28a745;
    margin: 0 0 10px 0;
}

.total-note {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0;
}

.order-submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.order-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
    background: linear-gradient(135deg, #20c997 0%, #28a745 100%);
}

/* Order Tracking Section */
.order-tracking-section {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border: 3px solid #2196f3;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 25px;
}

.order-tracking-section h3 {
    color: #0d47a1;
    margin: 0 0 10px 0;
    text-align: center;
}

.order-tracking-section > p {
    color: #1565c0;
    text-align: center;
    margin: 0 0 20px 0;
    font-weight: 500;
}

.tracking-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
}

.tracking-input-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.tracking-input-group label {
    font-weight: bold;
    color: #1976d2;
    font-size: 0.95rem;
}

.tracking-input-group input {
    padding: 12px;
    border: 2px solid #90caf9;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.tracking-input-group input:focus {
    border-color: #2196f3;
}

.track-btn {
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.track-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.3);
}

.tracking-results {
    margin-top: 20px;
    padding: 15px;
    background: white;
    border-radius: 10px;
    border: 2px solid #2196f3;
}

.tracking-results h4 {
    color: #0d47a1;
    margin: 0 0 15px 0;
    text-align: center;
}

.no-orders-found {
    text-align: center;
    padding: 20px;
}

.no-orders-found h4 {
    color: #f44336;
    margin: 0 0 10px 0;
}

.no-orders-found p {
    color: #666;
    margin: 5px 0;
    line-height: 1.5;
}

.tracking-error {
    text-align: center;
    padding: 20px;
}

.tracking-error h4 {
    color: #f44336;
    margin: 0 0 10px 0;
}

.tracking-error p {
    color: #666;
    margin: 5px 0;
}

.guest-orders-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.guest-order-item {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 15px;
    border-left: 5px solid #2196f3;
}

.guest-order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.guest-order-id {
    font-weight: bold;
    color: #0d47a1;
    font-size: 1.1rem;
}

.guest-order-status {
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: bold;
    text-transform: uppercase;
}

.guest-order-status.pending {
    background: #fff3cd;
    color: #856404;
}

.guest-order-status.processing {
    background: #cce5ff;
    color: #004085;
}

.guest-order-status.completed {
    background: #d4edda;
    color: #155724;
}

.guest-order-status.cancelled {
    background: #f8d7da;
    color: #721c24;
}

.guest-order-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 8px;
}

.guest-order-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    border-bottom: 1px solid #e9ecef;
}

.guest-detail-label {
    font-weight: 600;
    color: #495057;
    font-size: 0.9rem;
}

.guest-detail-value {
    color: #333;
    font-size: 0.9rem;
    text-align: right;
}

/* Help Section */
.help-section {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 3px solid #ffc107;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
}

.help-section h3 {
    color: #856404;
    margin: 0 0 15px 0;
    text-align: center;
}

.help-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.help-item {
    background: white;
    padding: 15px;
    border-radius: 10px;
    border: 2px solid #ffc107;
    text-align: center;
}

.help-item h4 {
    color: #856404;
    margin: 0 0 10px 0;
    font-size: 1.1rem;
}

.help-item p {
    color: #6c757d;
    margin: 5px 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Search and Filter Styles */
.search-filter-section {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.search-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-container input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 25px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
}

.search-container input:focus {
    border-color: #667eea;
}

.search-container button {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: background-color 0.3s;
}

.search-container button:hover {
    background: #c82333;
}

.filter-container {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-container select {
    padding: 10px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 25px;
    font-size: 14px;
    outline: none;
    cursor: pointer;
    transition: border-color 0.3s;
    min-width: 150px;
}

.filter-container select:focus {
    border-color: #667eea;
}

.batch-results-info {
    margin: 10px 0;
    color: #666;
    font-size: 14px;
    text-align: center;
}

/* Admin Order Management Styles */
#admin-orders {
    margin-top: 20px;
}

.admin-order-item {
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-left: 5px solid #667eea;
}

.admin-order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 15px;
}

.admin-order-info h4 {
    margin: 0 0 10px 0;
    color: #667eea;
    font-size: 18px;
}

.admin-order-info p {
    margin: 5px 0;
    color: #666;
    font-size: 14px;
}

.admin-order-status {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-select {
    padding: 8px 12px;
    border: 2px solid #e1e5e9;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    transition: border-color 0.3s;
}

.status-select:focus {
    border-color: #667eea;
}

.status-select option[value="pending"] { color: #856404; }
.status-select option[value="processing"] { color: #004085; }
.status-select option[value="completed"] { color: #155724; }
.status-select option[value="cancelled"] { color: #721c24; }

.admin-order-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.admin-order-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.admin-detail-label {
    font-weight: 600;
    color: #555;
    font-size: 14px;
}

.admin-detail-value {
    color: #333;
    font-size: 14px;
    text-align: right;
}

header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: relative;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

.brand-text {
    text-align: left;
}

.brand-text h1 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #fff, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.subtitle {
    font-size: 18px;
    margin: 10px 0 0 0;
    opacity: 0.9;
    font-weight: 300;
}

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    color: white;
}

.chili-animation {
    font-size: 50px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-30px); }
    60% { transform: translateY(-15px); }
}

.hamburger {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    z-index: 1000;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    margin: 5px 0;
    transition: 0.3s;
}

.menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(255,255,255,0.9);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    display: none;
    z-index: 999;
}

.menu.open {
    display: block;
}

#login-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

#login-section input {
    padding: 8px 12px;
    border: none;
    border-radius: 25px;
    outline: none;
}

#login-section button {
    padding: 8px 16px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin: 5px;
}

#login-section button:hover {
    background-color: #218838;
}

#register-link, #login-link {
    background-color: #667eea;
    margin-top: 10px;
}

#register-link:hover, #login-link:hover {
    background-color: #764ba2;
}

#register-form {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Admin-only styling */
.admin-only {
    background: linear-gradient(45deg, #ff6b35, #ff4757) !important;
}

.admin-only::after {
    content: "👑";
    margin-left: 5px;
}

.refresh-btn {
    background: linear-gradient(45deg, #17a2b8, #20c997) !important;
    margin-left: auto;
    min-width: 40px;
    font-size: 16px;
}

.refresh-btn:hover {
    background: linear-gradient(45deg, #138496, #1aa085) !important;
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

.session-btn {
    background: linear-gradient(45deg, #9c27b0, #673ab7) !important;
    margin-left: 5px;
}

.session-btn:hover {
    background: linear-gradient(45deg, #7b1fa2, #512da8) !important;
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

nav {
    margin-top: 20px;
}

.tab-btn {
    background-color: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid white;
    padding: 12px 24px;
    margin: 0 10px;
    cursor: pointer;
    border-radius: 25px;
    transition: all 0.3s;
    font-weight: bold;
}

.tab-btn:hover, .tab-btn.active {
    background-color: white;
    color: #667eea;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

section {
    margin-bottom: 30px;
    padding: 30px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

section:hover {
    transform: translateY(-5px);
}

h2 {
    color: #667eea;
    margin-top: 0;
    font-size: 24px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

label {
    font-weight: bold;
    color: #555;
}

input, select, textarea {
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 25px;
    flex: 1;
    min-width: 150px;
    outline: none;
    transition: border-color 0.3s;
    font-size: 16px;
    font-family: inherit;
}

textarea {
    resize: vertical;
    min-height: 80px;
}

input:focus, select:focus, textarea:focus {
    border-color: #667eea;
}

select {
    background: white;
    cursor: pointer;
}

button {
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

#batch-list, #available-stock {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.batch-item {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.batch-item:hover {
    transform: translateY(-5px);
}

/* Batch Status Styling */
.batch-ready {
    border-left: 5px solid #28a745;
    background: linear-gradient(135deg, #f8fff8 0%, #ffffff 100%);
}

.batch-not-ready {
    border-left: 5px solid #ffc107;
    background: linear-gradient(135deg, #fffbf0 0%, #ffffff 100%);
    opacity: 0.8;
}

.status-info {
    color: #856404;
    font-weight: 600;
    font-size: 14px;
    margin: 8px 0 4px 0;
}

.status-note {
    color: #6c757d;
    font-size: 12px;
    font-style: italic;
    margin: 4px 0 8px 0;
}

.status-ready {
    color: #155724;
    font-weight: 600;
    font-size: 14px;
    margin: 8px 0;
}

/* Admin Info Box */
.admin-info-box {
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
    border: 2px solid #2196f3;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.2);
}

.admin-info-box h4 {
    color: #1976d2;
    margin: 0 0 15px 0;
    font-size: 16px;
    font-weight: 600;
}

.admin-info-box ul {
    margin: 0;
    padding-left: 20px;
}

.admin-info-box li {
    margin-bottom: 8px;
    color: #424242;
    line-height: 1.5;
}

.admin-info-box strong {
    color: #1976d2;
}

/* Customer Info Banner */
.customer-info-banner {
    background: linear-gradient(135deg, #e8f5e8 0%, #f3e5f5 100%);
    border: 2px solid #4caf50;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.2);
}

.customer-info-banner p {
    margin: 0;
    color: #2e7d32;
    font-size: 14px;
    line-height: 1.5;
}

.customer-info-banner strong {
    color: #1b5e20;
}

.batch-item h3 {
    margin-top: 0;
    color: #667eea;
    font-size: 18px;
}

.stock-update {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.stock-update input {
    width: 80px;
    padding: 8px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
}

.progress-bar {
    width: 100%;
    background-color: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    height: 25px;
    margin: 10px 0;
}

.progress {
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s;
}

.loading {
    text-align: center;
    margin-top: 20px;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.post {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.post:hover {
    transform: translateY(-5px);
}

.post img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post p {
    padding: 15px;
    margin: 0;
    color: #333;
}

footer {
    background: white;
    color: #333;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    border-top: 2px solid #e1e5e9;
}

.help-center h3 {
    margin-top: 0;
    color: #667eea;
}

.contact-btn {
    background: #667eea;
    color: white;
    text-decoration: none;
    display: inline-block;
    padding: 12px 24px;
    margin: 10px;
    border-radius: 25px;
    transition: background 0.3s;
    font-size: 16px;
}

.contact-btn:hover {
    background: #764ba2;
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #28a745;
    color: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    display: none;
    z-index: 1000;
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.notification-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.close-btn {
    cursor: pointer;
    font-size: 20px;
    margin-left: 10px;
}

@media (max-width: 768px) {
    body {
        padding: 0;
        margin: 0;
    }

    header {
        padding: 20px 10px;
    }

    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    .logo-container {
        gap: 15px;
    }

    .logo {
        width: 60px;
        height: 60px;
    }

    .brand-text {
        text-align: center;
    }

    .brand-text h1 {
        font-size: 24px;
        margin: 0;
    }

    .subtitle {
        font-size: 14px;
        margin: 10px 0 0 0;
    }

    main {
        padding: 10px;
    }

    section {
        padding: 15px;
        margin-bottom: 20px;
    }

    input, select, textarea {
        min-width: auto;
        width: 100%;
        box-sizing: border-box;
    }

    #batch-list, #available-stock {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .batch-item {
        padding: 15px;
    }

    .hamburger {
        right: 10px;
    }

    .menu {
        right: 10px;
        width: 250px;
        max-width: 90vw;
    }

    footer {
        padding: 15px;
        text-align: center;
    }

    .help-center h3 {
        margin-bottom: 15px;
    }

    .contact-btn {
        display: inline-block;
        width: calc(50% - 5px);
        margin: 5px 2.5px;
        text-align: center;
        font-size: 14px;
    }

    /* Hero Section Mobile */
    #hero {
        height: 60vh;
        min-height: 400px;
        padding: 15px 0;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        padding: 0 10px;
        gap: 20px;
    }

    .hero-text {
        margin-bottom: 20px;
        flex: none;
    }

    .hero-text h1 {
        font-size: 2rem;
        margin-bottom: 10px;
        line-height: 1.2;
    }

    .hero-text p {
        font-size: 1rem;
        margin-bottom: 20px;
        line-height: 1.4;
    }

    .hero-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
        display: inline-block;
        margin: 0 auto;
    }

    .hero-images {
        height: 180px;
        width: 100%;
        position: relative;
        flex: none;
    }

    .chili-bg {
        width: 100px;
        height: 100px;
        position: absolute;
    }

    .chili-bg-1 {
        top: 0;
        left: 10px;
    }

    .chili-bg-2 {
        bottom: 0;
        right: 10px;
    }

    .floating-chili {
        font-size: 2.5rem;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 4;
    }

    /* Smaller screens */
    @media (max-width: 480px) {
        #hero {
            height: 50vh;
            min-height: 350px;
        }

        .hero-content {
            padding: 0 5px;
        }

        .hero-text h1 {
            font-size: 1.8rem;
        }

        .hero-text p {
            font-size: 0.9rem;
        }

        .hero-images {
            height: 150px;
        }

        .chili-bg {
            width: 80px;
            height: 80px;
        }

        .floating-chili {
            font-size: 2rem;
        }
    }

    /* Very small screens */
    @media (max-width: 360px) {
        #hero {
            height: 45vh;
            min-height: 300px;
        }

        .hero-text h1 {
            font-size: 1.6rem;
        }

        .hero-text p {
            font-size: 0.85rem;
        }

        .hero-btn {
            padding: 10px 18px;
            font-size: 0.85rem;
        }

        .hero-images {
            height: 120px;
        }

        .chili-bg {
            width: 70px;
            height: 70px;
        }

        .floating-chili {
            font-size: 1.8rem;
        }
    }

    /* Dashboard Mobile */
    .dashboard-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .stat-card {
        padding: 20px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .order-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .order-details {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .order-total {
        text-align: center;
        font-size: 16px;
    }

    /* Guest Banner Mobile */
    .guest-banner {
        padding: 15px;
        margin-bottom: 20px;
    }

    .guest-banner-content h3 {
        font-size: 1.2rem;
    }

    .guest-features {
        flex-direction: column;
        gap: 10px;
    }

    .guest-features span {
        padding: 6px 12px;
        font-size: 0.85rem;
    }

    /* Order Form Mobile */
    #order-form {
        padding: 20px;
    }

    #order-form h3 {
        font-size: 1.3rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px;
        font-size: 1rem;
    }

    .order-submit-btn {
        padding: 15px;
        font-size: 1.1rem;
    }

    /* Help Section Mobile */
    .help-options {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .help-item {
        padding: 12px;
    }

    .help-item h4 {
        font-size: 1rem;
    }

    /* Search and Filter Mobile */
    .search-filter-section {
        padding: 15px;
    }

    .search-container {
        flex-direction: column;
        gap: 10px;
    }

    .search-container input {
        width: 100%;
    }

    .filter-container {
        flex-direction: column;
        gap: 10px;
    }

    .filter-container select {
        width: 100%;
        min-width: auto;
    }

    /* Admin Order Management Mobile */
    .admin-order-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-order-status {
        width: 100%;
        justify-content: flex-start;
    }

    .status-select {
        width: 100%;
        max-width: 200px;
    }

    .admin-order-details {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .admin-order-detail {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .admin-detail-value {
        text-align: left;
        font-weight: 500;
    }
}