/* style.css - AHASS Piramida Motor */
:root {
    --primary: #dc2626;
    --primary-dark: #b91c1c;
    --primary-light: #fee2e2;
    --secondary: #1e293b;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
    --purple: #8b5cf6;
    --teal: #14b8a6;
    --gray: #64748b;
    --gray-light: #e2e8f0;
    --gray-bg: #f8fafc;
    --dark: #0f172a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
    color: var(--secondary);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    background: white;
    border-radius: 32px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    overflow: hidden;
}

/* Header */
.header {
    background: white;
    padding: 20px 30px;
    border-bottom: 1px solid var(--gray-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

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

.logo-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    transform: rotate(-5deg);
    transition: transform 0.3s;
}

.logo-icon:hover {
    transform: rotate(0deg);
}

.logo-text h1 {
    font-size: 1.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.badge {
    background: var(--gray-bg);
    padding: 4px 10px;
    border-radius: 30px;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--gray);
    display: inline-block;
    margin-top: 5px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--success);
    background: var(--gray-bg);
    padding: 8px 15px;
    border-radius: 30px;
}

.live-dot {
    width: 5px;
    height: 5px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
    100% { opacity: 1; transform: scale(1); }
}

.contact-info {
    display: flex;
    gap: 5px;
    font-size: 0.75rem;
    color: var(--gray);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.contact-item i {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    gap: 8px;
    background: var(--gray-bg);
    padding: 5px;
    border-radius: 40px;
}

.nav-btn {
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.nav-btn i {
    font-size: 0.9rem;
}

.nav-btn.active {
    background: var(--primary);
    color: white;
}

.nav-btn:hover:not(.active) {
    background: white;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary);
    color: white;
    font-size: 0.6rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 30px;
    min-width: 18px;
    text-align: center;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--secondary) 0%, #0f172a 100%);
    padding: 40px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.hero-content {
    flex: 1;
    min-width: 300px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    padding: 6px 15px;
    border-radius: 30px;
    font-size: 0.7rem;
    margin-bottom: 15px;
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.hero-title span {
    color: var(--primary);
    background: rgba(220, 38, 38, 0.2);
    padding: 5px 15px;
    border-radius: 40px;
    font-size: 1.2rem;
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 0.7rem;
    opacity: 0.8;
}

/* Main Grid */
.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px;
}

/* Card */
.card {
    background: white;
    border-radius: 24px;
    padding: 25px;
    box-shadow: 0 10px 40px -15px rgba(0,0,0,0.1);
    border: 1px solid var(--gray-light);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    box-shadow: 0 20px 50px -20px rgba(0,0,0,0.2);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--gray-light);
}

.card-header i {
    font-size: 1.5rem;
    color: var(--primary);
    background: var(--primary-light);
    padding: 10px;
    border-radius: 14px;
}

.card-header h2 {
    font-size: 1.2rem;
    font-weight: 700;
}

/* Form Elements */
.form-group {
    margin-bottom: 15px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--gray-light);
    border-radius: 16px;
    font-size: 0.9rem;
    transition: all 0.3s;
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
}

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

/* Service Options */
.service-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 10px;
}

.service-option {
    text-align: center;
    padding: 12px 5px;
    border: 2px solid var(--gray-light);
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.service-option i {
    font-size: 1.2rem;
    color: var(--gray);
}

.service-option.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.service-option.active i {
    color: white;
}

.service-option:hover:not(.active) {
    border-color: var(--primary);
    color: var(--primary);
}

.service-option:hover i {
    color: var(--primary);
}

/* Buttons */
.btn {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px var(--primary);
}

.btn:active {
    transform: translateY(0);
}

.btn-secondary {
    background: var(--secondary);
}

.btn-secondary:hover {
    background: var(--dark);
    box-shadow: 0 10px 25px -5px var(--secondary);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Admin Tabs */
.admin-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    background: var(--gray-bg);
    padding: 5px;
    border-radius: 40px;
    flex-wrap: wrap;
}

.admin-tab {
    padding: 10px 15px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: center;
    white-space: nowrap;
}

.admin-tab i {
    font-size: 0.8rem;
}

.admin-tab.active {
    background: var(--primary);
    color: white;
}

.admin-tab:hover:not(.active) {
    background: white;
}

/* Stats Cards */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.stat-card {
    background: var(--secondary);
    color: white;
    padding: 15px;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s;
}

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

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.7rem;
    opacity: 0.9;
}

/* Filter Buttons */
.filter-btns {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 15px;
    border: none;
    background: var(--gray-bg);
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    color: var(--gray);
}

.filter-btn.active {
    background: var(--primary);
    color: white;
}

.filter-btn:hover:not(.active) {
    background: var(--gray-light);
}

/* Orders List */
.orders-list {
    max-height: 600px;
    overflow-y: auto;
    padding-right: 5px;
}

.order-item {
    background: var(--gray-bg);
    border-radius: 16px;
    padding: 15px;
    margin-bottom: 10px;
    border: 1px solid var(--gray-light);
    transition: all 0.3s;
}

.order-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px -5px rgba(0,0,0,0.1);
}

.order-item.new-order {
    animation: highlight 2s ease-out;
    border-left: 4px solid var(--primary);
}

@keyframes highlight {
    0% { background: var(--primary-light); }
    100% { background: var(--gray-bg); }
}

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

.order-name {
    font-weight: 700;
    font-size: 0.9rem;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
}

.status-menunggu { background: #fef3c7; color: #92400e; }
.status-dijemput { background: #dbeafe; color: #1e40af; }
.status-proses { background: #ede9fe; color: #5b21b6; }
.status-diantar { background: #ccfbf1; color: #115e59; }
.status-selesai { background: #d1fae5; color: #065f46; }

.order-detail {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.order-tag {
    background: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.65rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 1px solid var(--gray-light);
}

.order-tag i {
    color: var(--primary);
}

/* Action Buttons */
.action-btns {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.action-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 30px;
    font-size: 0.65rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    flex: 1;
}

.btn-detail {
    background: var(--secondary);
    color: white;
}

.btn-jemput {
    background: var(--warning);
    color: white;
}

.btn-proses {
    background: var(--purple);
    color: white;
}

.btn-diantar {
    background: var(--teal);
    color: white;
}

.btn-selesai {
    background: var(--success);
    color: white;
}

.action-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Cabang List */
.cabang-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 8px;
    margin-bottom: 15px;
}

.cabang-item {
    background: var(--gray-bg);
    padding: 10px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.cabang-item:hover {
    background: white;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px -5px rgba(0,0,0,0.1);
}

.cabang-item .badge {
    background: white;
    color: var(--secondary);
}

/* Toggle Switch */
.toggle-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    padding: 10px;
    background: var(--gray-bg);
    border-radius: 12px;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--gray-light);
    transition: .4s;
    border-radius: 34px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: var(--primary);
}

input:checked + .toggle-slider:before {
    transform: translateX(26px);
}

/* Sound Toggle */
.sound-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    padding: 5px 10px;
    background: white;
    border-radius: 30px;
    font-size: 0.7rem;
    transition: all 0.3s;
}

.sound-toggle:hover {
    background: var(--gray-light);
}

/* Live Stats */
.live-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 8px;
    margin-bottom: 15px;
}

.live-stat-card {
    background: var(--gray-bg);
    padding: 12px;
    border-radius: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.live-stat-card.active {
    border-color: var(--primary);
    background: white;
}

.live-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px -5px rgba(0,0,0,0.1);
}

.live-stat-number {
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
}

.live-stat-label {
    font-size: 0.6rem;
    color: var(--gray);
    font-weight: 600;
}

/* Admin Actions */
.admin-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.admin-action-btn {
    padding: 8px 12px;
    border: none;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
    flex: 1;
    justify-content: center;
    background: var(--gray-bg);
    color: var(--secondary);
}

.admin-action-btn.excel-btn {
    background: #10b981;
    color: white;
}

.admin-action-btn.csv-btn {
    background: #3b82f6;
    color: white;
}

.admin-action-btn.server-btn {
    background: #8b5cf6;
    color: white;
}

.admin-action-btn.purple-btn {
    background: #ec4899;
    color: white;
}

.admin-action-btn.year-btn {
    background: #f59e0b;
    color: white;
}

.admin-action-btn.live-btn {
    background: var(--primary);
    color: white;
}

.admin-action-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
    box-shadow: 0 5px 15px -5px currentColor;
}

/* Summary Cards */
.summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.summary-card {
    background: white;
    padding: 15px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 2px 10px -5px rgba(0,0,0,0.1);
    border: 1px solid var(--gray-light);
    cursor: pointer;
    transition: all 0.3s;
}

.summary-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -10px rgba(0,0,0,0.2);
}

.summary-card .value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 5px;
}

.summary-card .label {
    font-size: 0.65rem;
    color: var(--gray);
    font-weight: 600;
}

/* Server Stats */
.server-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    margin-bottom: 15px;
}

.server-stat-card {
    background: var(--secondary);
    color: white;
    padding: 15px;
    border-radius: 16px;
    text-align: center;
}

.server-stat-number {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.server-stat-label {
    font-size: 0.6rem;
    opacity: 0.9;
}

/* Log Section */
.log-section {
    margin-top: 20px;
}

.log-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray);
}

.log-list {
    background: var(--gray-bg);
    border-radius: 16px;
    padding: 10px;
    max-height: 200px;
    overflow-y: auto;
}

.log-item {
    padding: 8px 12px;
    border-bottom: 1px solid var(--gray-light);
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.log-item:last-child {
    border-bottom: none;
}

.log-item i {
    color: var(--primary);
    width: 16px;
}

/* Cabang Selector */
.cabang-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
    padding: 10px;
    background: var(--gray-bg);
    border-radius: 16px;
}

.cabang-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: white;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid var(--gray-light);
}

.cabang-checkbox.selected {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.cabang-checkbox input {
    margin-right: 3px;
}

/* Chart Container */
.chart-container {
    height: 300px;
    margin: 20px 0;
    padding: 10px;
    background: white;
    border-radius: 16px;
    border: 1px solid var(--gray-light);
}

/* Date Range */
.date-range {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.date-input {
    padding: 8px;
    border: 1px solid var(--gray-light);
    border-radius: 8px;
    font-size: 0.7rem;
}

/* Tracking Result */
.tracking-result {
    margin-top: 15px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    border-radius: 24px;
    padding: 25px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--gray);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.modal-close:hover {
    background: var(--gray-light);
    color: var(--danger);
}

/* Notification */
#notificationContainer {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 350px;
}

.notification {
    background: white;
    border-radius: 16px;
    padding: 15px;
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideIn 0.3s ease-out;
    border-left: 4px solid var(--success);
}

.notification.server {
    border-left-color: var(--purple);
}

.notification.live {
    border-left-color: var(--primary);
}

.notification.warning {
    border-left-color: var(--warning);
}

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

.notification i {
    font-size: 1.2rem;
}

.notification.server i { color: var(--purple); }
.notification.live i { color: var(--primary); }
.notification.warning i { color: var(--warning); }
.notification.success i { color: var(--success); }

.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 3px;
}

.notification-message {
    font-size: 0.7rem;
    color: var(--gray);
}

.notification-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--gray);
    padding: 0 5px;
}

.notification-close:hover {
    color: var(--danger);
}

/* Footer */
.footer {
    background: var(--secondary);
    color: white;
    padding: 40px 30px 20px;
}

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

.footer-col h3 {
    font-size: 1rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    font-size: 0.8rem;
    margin-bottom: 8px;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li i {
    color: var(--primary);
    width: 16px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.7rem;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    body { padding: 10px; }
    
    .header { flex-direction: column; align-items: flex-start; }
    
    .header-right { width: 100%; }
    
    .nav-menu { width: 100%; }
    
    .nav-btn { flex: 1; justify-content: center; }
    
    .contact-info { flex-wrap: wrap; }
    
    .hero { padding: 30px 20px; }
    
    .hero-title { font-size: 1.5rem; }
    
    .hero-title span { font-size: 1rem; }
    
    .grid { padding: 20px; }
    
    .stats { grid-template-columns: repeat(3, 1fr); }
    
    .admin-tabs { flex-wrap: wrap; }
    
    .admin-tab { flex: none; width: 100%; }
    
    .service-options { grid-template-columns: 1fr; }
    
    .live-stats { grid-template-columns: repeat(3, 1fr); }
    
    .admin-actions { flex-direction: column; }
    
    .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .stats { grid-template-columns: repeat(2, 1fr); }
    
    .live-stats { grid-template-columns: repeat(2, 1fr); }
    
    .order-header { flex-direction: column; align-items: flex-start; gap: 5px; }
    
    .action-btns { flex-wrap: wrap; }
    
    .action-btn { flex: none; width: 100%; }
}