* { margin:0; padding:0; box-sizing:border-box; }
body { background:#111; color:#eff; font-family:Arial, sans-serif; min-height:100vh; }

/* Blackish background for all pages except home */
body.page-silver {
    background: linear-gradient(145deg, #0e0d0d 0%, #0e0d0d 50%, #0e0d0d 100%);
    background-attachment: fixed;
}

body.page-silver header {
    background: rgba(235, 52, 76, 0.767);
}

body.page-silver main,
body.page-silver section {
    background: rgba(49, 47, 47, 0.89);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    margin: 0px;
    padding: 0px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.05);
}

/* Membership form styling */
.membership-form {
    background: solid(145deg, rgba(28,28,28,0.9) 0%, rgba(34,34,34,0.9) 100%);
    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    margin: 30px auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
}

.membership-form h2 {
    margin: 0 0 25px 0;
    font-size: 28px;
    color: #eff;
    text-align: center;
}

.membership-form label {
    display: block;
    margin-bottom: 8px;
    color: #eff;
    font-weight: 500;
    font-size: 14px;
}

.membership-form input,
.membership-form select {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 20px;
    border: 2px solid #333;
    border-radius: 10px;
    background: #111;
    color: #111;
    font-size: 15px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.membership-form input:focus,
.membership-form select:focus {
    outline: none;
    border-color: #c41e3a;
    background: #1a1a1a;
    box-shadow: 0 0 0 3px rgba(196,30,58,0.1);
}

.membership-form button {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #c41e3a 0%, #a0172e 100%);
    color: #eff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(196,30,58,0.3);
    margin-top: 10px;
}

.membership-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(196,30,58,0.4);
    background: linear-gradient(135deg, #d42e4a 0%, #b0182e 100%);
}

header {
    background:#c41e3a;
    padding:16px 20px;
    position:relative;
    display:flex;
    align-items:center;
    gap:12px;
    flex-wrap:wrap;
    z-index:100;
}

.logo { font-size:2em; font-weight:bold; }

.hamburger {
    font-size:2em;
    cursor:pointer;
    margin-left:auto;
    user-select:none;
}

.nav-menu {
    display:none;
    position:absolute;
    top:100%;
    right:20px;
    background:#222;
    width:220px;
    border-radius:10px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,0.4);
    z-index:1000;
}

.nav-menu.active { display:block; }

.nav-menu a {
    display:block;
    padding:14px 18px;
    color:#fff;
    text-decoration:none;
    border-bottom:1px solid rgba(255,255,255,0.06);
}

.nav-menu a:last-child { border-bottom:none; }

.nav-menu a:hover { background:rgba(196,30,58,0.2); }

.admin-n {
    order:-1;
    background:#000;
    color:#c41e3a;
    width:50px;
    height:50px;
    line-height:50px;
    text-align:center;
    border-radius:50%;
    font-size:16px;
    font-weight:bold;
    text-decoration:none;
    border:3px solid #c41e3a;
}

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(145deg, rgba(17,17,17,0.85) 0%, rgba(27,27,27,0.85) 100%), url('../../images/03.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
    }
    
    .admin-dashboard {
        background-attachment: scroll;
    }
    
    .admin-login {
        background-attachment: scroll;
    }
}

.hero h1 { font-size:48px; margin-bottom:12px; }
.hero p { font-size:18px; margin-bottom:24px; color:#ddd; }

.btn {
    background:#c41e3a;
    color:white;
    padding:15px 42px;
    border-radius:50px;
    text-decoration:none;
    display:inline-block;
    font-weight:bold;
    box-shadow:0 8px 20px rgba(196,30,58,0.35);
}

.dish { background:#222; margin:20px; padding:20px; border-radius:15px; text-align:center; }
.dish img { width:100%; border-radius:15px; }
/* Removed - buttons are now in dish-body */
.order-form { background:#333; padding:20px; margin-top:10px; border-radius:10px; }

.menu-container {
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap:30px;
    padding:30px 20px 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.dish {
    background:#1c1c1c;
    border:1px solid #2a2a2a;
    border-radius:20px;
    text-align:center;
    overflow: hidden;
    box-shadow:0 12px 28px rgba(0,0,0,0.35);
    margin:0;
    padding:0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dish img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
    display: block;
    box-shadow: none;
    margin: 0;
    background: #111;
    padding: 0;
}

.dish-body { 
    padding:6px 8px; 
    display:flex; 
    flex-direction:row; 
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 6px;
    min-height: 40px;
}
.dish-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    gap: 2px;
    padding: 0 4px;
}
.dish h3 { margin:0; font-size:13px; color:#fff; text-align: center; line-height: 1.2; }
.dish .price { color:#c41e3a; font-weight:bold; font-size:13px; text-align: center; }

/* Size buttons */
.size-buttons {
    display: flex;
    gap: 4px;
    justify-content: center;
    margin: 4px 0;
}

.size-btn {
    background: #333;
    color: #fff;
    border: 1px solid #555;
    padding: 4px 8px;
    border-radius: 15px;
    cursor: pointer;
    font-size: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 40px;
}

.size-btn:hover {
    background: #444;
    border-color: #c41e3a;
}

.size-btn.active {
    background: #c41e3a;
    border-color: #c41e3a;
    color: #fff;
}

.order-toggle { 
    background:#c41e3a; 
    color:#fff; 
    border:none; 
    padding:6px 12px; 
    border-radius:6px; 
    cursor:pointer; 
    font-weight: 600;
    font-size: 12px;
}

.dish-buttons .btn {
    padding: 5px 10px;
    font-size: 11px;
    border-radius: 5px;
    white-space: nowrap;
    flex-shrink: 0;
}

.order-form {
    display:none;
    background:#111;
    margin:0 18px 18px;
    border:1px solid #2a2a2a;
}

.order-form.show {
    display: block !important;
}

.order-form input,
.order-form textarea,
.order-form select {
    width:100%;
    padding:10px;
    margin:6px 0;
    border-radius:6px;
    border:1px solid #333;
    background:#1c1c1c;
    color:#fff;
}

.order-form button {
    background:#272424;
    color:#fff;
    border:none;
    padding:12px;
    border-radius:8px;
    cursor:pointer;
    width:100%;
}

.buy-form {
    display:none;
    background:#111;
    margin:0 18px 18px;
    border:1px solid #2a2a2a;
}

.buy-form.show {
    display: block !important;
}

.buy-form input,
.buy-form textarea,
.buy-form select {
    width:100%;
    padding:10px;
    margin:6px 0;
    border-radius:6px;
    border:1px solid #333;
    background:#1c1c1c;
    color:#fff;
}

.buy-form button {
    background:#c41e3a;
    color:#fff;
    border:none;
    padding:12px;
    border-radius:8px;
    cursor:pointer;
    width:100%;
}

.section {
    padding:60px 20px;
}

.section h2 { margin-bottom:12px; }
.section p { color:#ccc; }

.hero img {
    max-width:900px;
    width:100%;
    border-radius:18px;
    margin-top:24px;
    box-shadow:0 12px 28px rgba(0,0,0,0.35);
}

@media (min-width:768px) {
    header {
        flex-wrap:nowrap;
    }

    .hamburger { display:none; }

    .nav-menu {
        display:flex;
        position:static;
        width:auto;
        background:transparent;
        box-shadow:none;
        border-radius:0;
        gap:18px;
        margin-left:auto;
    }

    .nav-menu a {
        border-bottom:none;
        padding:0;
    }

    .nav-menu a:hover { background:transparent; text-decoration:underline; }

    .menu-container { grid-template-columns:repeat(2, 1fr); }
}

.image-slider {
    overflow: hidden;
    width: 100%;
    background: #111;
    padding: 20px 0;
}

.slider-container {
    width: 100%;
    overflow: hidden;
}

.slider-track {
    display: flex;
    width: calc(250px * 8); /* 4 slides * 2 for infinite */
    animation: scroll 20s linear infinite;
}

.slider-track:hover {
    animation-play-state: paused;
}

.slide {
    width: 250px;
    margin-right: 20px;
    text-align: center;
    flex-shrink: 0;
}

.slide img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.slide p {
    margin-top: 10px;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.about-slider .slide {
    width: 300px;
}

.about-slider .slide img {
    height: 200px;
}

.about-slider .slider-track {
    width: calc(300px * 8);
}

.home-images {
    position: relative;
    height: 250px;
    width: 350px;
    margin: 30px auto;
}

.slide-item {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    text-align: center;
    transition: opacity 5s ease-in-out;
}

.slide-item.active {
    opacity: 1;
}

/* Professional Form Styling */
.booking-form,
.order-form-main {
    background: linear-gradient(145deg, rgba(28,28,28,0.95) 0%, rgba(34,34,34,0.95) 100%);
    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    margin: 30px auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}

.booking-form h2,
.order-form-main h2 {
    margin: 0 0 25px 0;
    font-size: 28px;
    color: #fff;
    text-align: center;
}

.booking-form label,
.order-form-main label {
    display: block;
    margin-bottom: 8px;
    color: #ddd;
    font-weight: 500;
    font-size: 14px;
}

.booking-form input[type="text"],
.booking-form input[type="email"],
.booking-form input[type="tel"],
.booking-form input[type="date"],
.booking-form input[type="time"],
.booking-form input[type="number"],
.booking-form textarea,
.order-form-main input[type="text"],
.order-form-main input[type="email"],
.order-form-main input[type="tel"],
.order-form-main input[type="number"],
.order-form-main textarea {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 20px;
    border: 2px solid #333;
    border-radius: 10px;
    background: #111;
    color: #111;
    font-size: 15px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.booking-form input:focus,
.booking-form textarea:focus,
.order-form-main input:focus,
.order-form-main textarea:focus {
    outline: none;
    border-color: #c41e3a;
    background: #1a1a1a;
    box-shadow: 0 0 0 3px rgba(196,30,58,0.1);
}

.booking-form textarea,
.order-form-main textarea {
    min-height: 100px;
    resize: vertical;
    font-family: inherit;
}

.booking-form button,
.order-form-main button {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #c41e3a 0%, #a0172e 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(196,30,58,0.3);
    margin-top: 10px;
}

.booking-form button:hover,
.order-form-main button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(196,30,58,0.4);
    background: linear-gradient(135deg, #d42e4a 0%, #b0182e 100%);
}

.booking-form button:active,
.order-form-main button:active {
    transform: translateY(0);
}

/* Page Layout */
.booking-page,
.order-page {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.booking-content,
.order-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.booking-image,
.order-image {
    flex: 0 0 300px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.booking-image img,
.order-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.booking-info,
.order-info {
    flex: 1;
    min-width: 300px;
}

.booking-info h1,
.order-info h1 {
    font-size: 42px;
    margin-bottom: 20px;
    color: #fff;
}

.booking-info p,
.order-info p {
    font-size: 18px;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 15px;
}

/* Admin Dashboard Styling */
.admin-dashboard {
    display: flex;
    min-height: 100vh;
    background: linear-gradient(145deg, rgba(17,17,17,0.85) 0%, rgba(27,27,27,0.85) 100%), url('../../images/03.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin: 0;
    padding: 0;
}

.admin-sidebar {
    width: 280px;
    background: linear-gradient(180deg, #1c1c1c 0%, #222 100%);
    border-right: 2px solid #333;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 4px 0 20px rgba(0,0,0,0.3);
}

.sidebar-header {
    padding: 30px 20px;
    border-bottom: 2px solid #333;
    background: linear-gradient(135deg, #c41e3a 0%, #a0172e 100%);
}

.sidebar-header h2 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 8px;
    font-weight: bold;
}

.admin-user {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    margin: 0;
}

.sidebar-nav {
    padding: 20px 0;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    color: #ddd;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    font-size: 15px;
}

.nav-item:hover {
    background: rgba(196,30,58,0.1);
    color: #fff;
    border-left-color: #c41e3a;
}

.nav-item.active {
    background: rgba(196,30,58,0.2);
    color: #c41e3a;
    border-left-color: #c41e3a;
    font-weight: 600;
}

.nav-icon {
    font-size: 20px;
    width: 24px;
    text-align: center;
}

.admin-main-content {
    flex: 1;
    margin-left: 280px;
    padding: 40px;
    max-width: calc(100% - 280px);
}

.admin-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #333;
}

.admin-header h1 {
    font-size: 36px;
    margin-bottom: 10px;
    color: #fff;
}

.admin-header p {
    color: #aaa;
    font-size: 16px;
}

.admin-header a {
    color: #c41e3a;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.admin-header a:hover {
    color: #d42e4a;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: linear-gradient(145deg, #1c1c1c 0%, #222 100%);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid #333;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    text-align: center;
}

.stat-card h3 {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-card .stat-number {
    font-size: 32px;
    font-weight: bold;
    color: #c41e3a;
}

.admin-section {
    margin-bottom: 50px;
}

.admin-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #fff;
    padding-bottom: 10px;
    border-bottom: 2px solid #333;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: #1c1c1c;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.admin-table thead {
    background: linear-gradient(135deg, #c41e3a 0%, #a0172e 100%);
}

.admin-table th {
    padding: 18px 15px;
    text-align: left;
    font-weight: 600;
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-table td {
    padding: 16px 15px;
    border-bottom: 1px solid #2a2a2a;
    color: #ddd;
    font-size: 14px;
}

.admin-table tbody tr {
    transition: background 0.2s;
}

.admin-table tbody tr:hover {
    background: #252525;
}

.admin-table tbody tr:last-child td {
    border-bottom: none;
}

.admin-table a {
    color: #c41e3a;
    text-decoration: none;
    font-weight: 500;
    margin: 0 8px;
    transition: color 0.3s;
}

.admin-table a:hover {
    color: #d42e4a;
    text-decoration: underline;
}

.action-approve {
    color: #28a745 !important;
    font-weight: 600;
}

.action-approve:hover {
    color: #34ce57 !important;
}

.action-disapprove {
    color: #ffc107 !important;
    font-weight: 600;
}

.action-disapprove:hover {
    color: #ffd54f !important;
}

.action-delete {
    color: #dc3545 !important;
    font-weight: 600;
}

.action-delete:hover {
    color: #e4606d !important;
}

.action-complete {
    color: #17a2b8 !important;
    font-weight: 600;
}

.action-complete:hover {
    color: #3fc1d8 !important;
}

.admin-table .status {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.admin-table .status.pending {
    background: rgba(255,193,7,0.2);
    color: #ffc107;
}

.admin-table .status.active,
.admin-table .status.preparing,
.admin-table .status.confirmed,
.admin-table .status.out_for_delivery {
    background: rgba(0,123,255,0.2);
    color: #007bff;
}

.admin-table .status.completed {
    background: rgba(40,167,69,0.2);
    color: #28a745;
}

.admin-table .status.expired,
.admin-table .status.cancelled {
    background: rgba(220,53,69,0.2);
    color: #dc3545;
}

/* Admin Login Styling */
.admin-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(17,17,17,0.85) 0%, rgba(27,27,27,0.85) 100%), 
                url('../../images/03.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 20px;
    position: relative;
}

.admin-login-container {
    background: linear-gradient(145deg, rgba(28,28,28,0.95) 0%, rgba(34,34,34,0.95) 100%);
    padding: 50px 40px;
    border-radius: 20px;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.7);
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
    backdrop-filter: blur(10px);
}

.admin-home-btn {
    position: absolute;
    top: -60px;
    left: 0;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    background: rgba(196,30,58,0.9);
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.admin-home-btn:hover {
    background: rgba(196,30,58,1);
    transform: translateX(-3px);
    box-shadow: 0 6px 20px rgba(196,30,58,0.5);
}

.admin-login-container h1 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 30px;
    color: #fff;
}

.admin-login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.admin-login-form input {
    width: 100%;
    padding: 16px;
    border: 2px solid #333;
    border-radius: 10px;
    background: #111;
    color: #fff;
    font-size: 15px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.admin-login-form input:focus {
    outline: none;
    border-color: #c41e3a;
    background: #1a1a1a;
    box-shadow: 0 0 0 3px rgba(196,30,58,0.1);
}

.admin-login-form input::placeholder {
    color: #666;
}

.admin-login-form button {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #c41e3a 0%, #a0172e 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(196,30,58,0.3);
    margin-top: 10px;
}

.admin-login-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(196,30,58,0.4);
    background: linear-gradient(135deg, #d42e4a 0%, #b0182e 100%);
}

.admin-error {
    background: rgba(220,53,69,0.2);
    color: #ff6b6b;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid rgba(220,53,69,0.3);
    margin-bottom: 20px;
    text-align: center;
}

.admin-success {
    background: rgba(40,167,69,0.2);
    color: #51cf66;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid rgba(40,167,69,0.3);
    margin-bottom: 20px;
    text-align: center;
}

@media (max-width: 768px) {
    /* General mobile styles */
    body {
        font-size: 14px;
    }
    
    .hero {
        background-attachment: scroll;
        min-height: auto;
        padding: 60px 15px;
    }
    
    .hero h1 {
        font-size: 32px !important;
        padding: 0 15px;
        margin-bottom: 10px;
    }
    
    .hero p {
        font-size: 16px !important;
        padding: 0 15px;
        margin-bottom: 15px;
    }
    
    .btn {
        padding: 12px 30px;
        font-size: 14px;
    }
    
    /* Menu container mobile */
    .menu-container {
        grid-template-columns: 1fr !important;
        padding: 20px 10px;
    }
    
    .dish {
        margin: 10px 0;
    }
    
    /* Forms mobile */
    .booking-content,
    .order-content {
        flex-direction: column;
    }
    
    .booking-image,
    .order-image {
        flex: 1 1 100%;
    }
    
    .booking-form,
    .order-form-main,
    .membership-form {
        padding: 20px;
        margin: 20px 10px;
    }
    
    /* Admin dashboard mobile */
    .admin-dashboard {
        flex-direction: column;
        background-attachment: scroll;
    }
    
    .admin-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-card {
        padding: 15px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    /* Admin table mobile - make scrollable */
    .admin-section {
        margin: 0 -10px;
        padding: 0 10px;
    }
    
    .content-card {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .admin-table {
        font-size: 11px;
        min-width: 800px;
        display: table;
        width: 100%;
    }
    
    /* Ensure tables are scrollable containers */
    .content-card .admin-table,
    .admin-section .admin-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .admin-table th,
    .admin-table td {
        padding: 8px 6px;
        white-space: nowrap;
    }
    
    .admin-sidebar {
        width: 100%;
        position: relative;
        height: auto;
        border-right: none;
        border-bottom: 2px solid #333;
    }
    
    .admin-main-content {
        margin-left: 0;
        max-width: 100%;
        padding: 15px 10px;
    }
    
    .content-card {
        padding: 20px 15px;
    }
    
    .content-card form {
        display: block;
    }
    
    .content-card form[style*="grid"] {
        display: block !important;
    }
    
    .content-card form > div[style*="grid-column"] {
        margin-bottom: 15px;
    }
    
    /* Make tables scrollable on mobile */
    .content-card > table,
    .admin-section > table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .section-header h2 {
        font-size: 22px;
    }
    
    /* Header mobile */
    header {
        padding: 12px 15px;
    }
    
    .logo {
        font-size: 1.5em;
    }
    
    .admin-n {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 12px;
    }
    
    /* Navigation mobile */
    .nav-menu {
        right: 10px;
        width: 200px;
    }
    
    /* Footer mobile */
    footer {
        padding: 20px 15px;
        font-size: 12px;
    }
    
    /* Buy form mobile */
    .buy-form input,
    .order-form input {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 24px !important;
    }
    
    .hero p {
        font-size: 14px !important;
    }
    
    .admin-table {
        font-size: 10px;
        min-width: 700px;
    }
    
    .admin-table th,
    .admin-table td {
        padding: 6px 4px;
    }
    
    .content-card {
        padding: 15px 10px;
    }
    
    .stat-card {
        padding: 12px;
    }
    
    .stat-number {
        font-size: 20px;
    }
    
    .section-header h2 {
        font-size: 18px;
    }
    
    .admin-header h1 {
        font-size: 24px;
    }
    
    .nav-menu {
        width: 180px;
        font-size: 14px;
    }
    
    .logo {
        font-size: 1.3em;
    }
}