/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: linear-gradient(rgba(240, 240, 235, 0.75), rgba(235, 235, 230, 0.7)), 
                url('../static/images/v996-008.jpg') center/cover no-repeat fixed;
    line-height: 1.6;
    color: #444;
    -webkit-tap-highlight-color: transparent;
    min-height: 100vh;
}

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

/* Alert Styles */
.alert {
    padding: 16px 24px;
    margin: 20px 0;
    border-radius: 12px;
    font-size: 1rem;
}

.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeaa7;
}

.alert a {
    color: #856404;
    font-weight: bold;
    text-decoration: underline;
}

.alert-success {
    background: #d4edda;
    border: 2px solid #c3e6cb;
    color: #155724;
}

.alert-error {
    background: #f8d7da;
    border: 2px solid #f5c6cb;
    color: #721c24;
}

/* Auth Styles */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 24px;
}

.auth-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 440px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.auth-title {
    text-align: center;
    margin-bottom: 32px;
    color: #333;
    font-size: 2rem;
    font-weight: 600;
}

.input-group {
    margin-bottom: 24px;
}

.input-group input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.2s ease;
}

.input-group input:focus {
    border-color: #4CAF50;
    outline: none;
    box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.1);
}

.input-group input:invalid {
    border-color: #e74c3c;
}

.input-group input:valid {
    border-color: #4CAF50;
}

/* Password strength indicator */
.password-strength {
    font-size: 0.8rem;
    margin-top: 5px;
    padding: 5px 0;
}

.password-strength.weak {
    color: #e74c3c;
}

.password-strength.strong {
    color: #4CAF50;
}

.auth-button {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    touch-action: manipulation;
}

.auth-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.login .auth-button {
    background: #4CAF50;
    color: white;
}

.register .auth-button {
    background: #2196F3;
    color: white;
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 15px;
    color: #666;
}

.auth-footer a {
    color: #2196F3;
    text-decoration: none;
    font-weight: 500;
    padding: 4px;
}

/* Dashboard Styles */
.dashboard {
    padding: 24px 0;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    gap: 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 20px 24px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.logout-btn {
    color: #e74c3c;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 8px;
    transition: background 0.2s ease;
    font-weight: 500;
}

.logout-btn:hover {
    background: #fce4e1;
}

.appliance-section {
    margin: 32px 0;
}

.appliance-section h2 {
    color: #444;
    margin-bottom: 24px;
    font-size: 1.5rem;
}

.appliance-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.appliance-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 3px solid transparent;
    transition: all 0.2s ease;
}

.appliance-card:hover {
    transform: translateY(-2px);
}

.appliance-card.free {
    border-color: #4CAF50;
}

.appliance-card.in_use {
    border-color: #f44336;
}

.appliance-card.almost_done {
    border-color: #ffeb3b;
}

.appliance-card.finished {
    border-color: #ffc107;
    background: linear-gradient(135deg, #fff8e1, #fffde7);
}

.appliance-card.not-working {
    opacity: 0.7;
    background: #fafafa;
    border-color: #e53e3e;
    position: relative;
}

.appliance-card.not-working::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(229, 62, 62, 0.1) 10px,
        rgba(229, 62, 62, 0.1) 20px
    );
    pointer-events: none;
    border-radius: 16px;
}

.out-of-order-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 5;
}

.out-of-order-text {
    background: linear-gradient(135deg, #e53e3e, #c53030);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 4px 12px rgba(229, 62, 62, 0.3);
}

.warning-icon {
    font-size: 0.8rem;
}

.maintenance-notice {
    margin-top: 15px;
    padding: 12px;
    background: #fed7d7;
    border-radius: 10px;
    border-left: 4px solid #e53e3e;
}

.maintenance-notice p {
    color: #742a2a;
    font-size: 0.85rem;
    margin: 0;
    font-weight: 500;
}

.appliance-image {
    width: 100%;
    max-width: 120px;
    display: block;
    margin: 0 auto 20px;
}

/* Duration Selector */
.duration-selector {
    display: flex;
    gap: 12px;
    margin: 20px 0;
}

.duration-btn {
    flex: 1;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    background: #f8f8f8;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 16px;
    font-weight: 500;
    color: #444;
    touch-action: manipulation;
}

.duration-btn.active {
    border-color: #4CAF50;
    background: #e8f5e9;
    color: #155724;
}

/* Status Buttons */
.status-btn {
    display: block;
    padding: 16px;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    margin: 20px 0;
    font-size: 16px;
    transition: all 0.2s ease;
}

.status-btn.free {
    background: #4CAF50;
    color: white;
}

.status-btn.in-use {
    background: #f44336;
    color: white;
}

.status-btn.almost-done {
    background: #ffeb3b;
    color: #333;
    animation: pulse 1.5s infinite;
}

.status-btn.finished {
    background: #ffc107;
    color: #333;
    cursor: pointer;
    border: none;
    font-weight: 600;
}

.status-btn.finished:hover {
    background: #ffb300;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.status-btn.out-of-order {
    background: linear-gradient(135deg, #e53e3e, #c53030);
    color: white;
    cursor: not-allowed;
    opacity: 0.9;
}

/* Unreserve Button */
.unreserve-btn {
    display: inline-block;
    margin-top: 16px;
    padding: 12px 24px;
    background: #e74c3c;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.unreserve-btn:hover {
    background: #c0392b;
    transform: translateY(-1px);
}

/* Reservation Info */
.reservation-info {
    margin-top: 16px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 14px;
    color: #666;
}

.reservation-info p {
    margin: 4px 0;
}

.reservation-info strong {
    color: #333;
}

/* Finished appliance specific styling */
.appliance-card.finished .reservation-info {
    background: #fff8e1;
    border: 2px solid #ffc107;
    border-radius: 8px;
}

.appliance-card.finished .reservation-info strong {
    color: #f57c00;
}

/* Admin Panel */
.user-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 32px;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.user-table th,
.user-table td {
    padding: 16px 24px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.user-table th {
    background: #f8f9fa;
    color: #444;
    font-weight: 600;
}

.delete-btn {
    color: #e74c3c;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.delete-btn:hover {
    background: #fce4e1;
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

/* Mobile Styles */
@media (max-width: 480px) {
    .container {
        padding: 16px;
    }

    .auth-card {
        padding: 24px;
    }

    .appliance-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

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

    .duration-selector {
        flex-direction: column;
    }

    .duration-btn {
        width: 100%;
        padding: 16px;
    }

    .status-btn {
        padding: 20px;
    }
}

/* Admin Dashboard Styles */
.admin-dashboard {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 0;
}

.admin-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px 0;
    margin-bottom: 30px;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.header-left {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.admin-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.crown-icon {
    font-size: 2.2rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.admin-subtitle {
    color: #718096;
    font-size: 1.1rem;
    margin: 0;
}

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

.admin-stats {
    display: flex;
    gap: 20px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #4a5568;
}

.stat-label {
    font-size: 0.85rem;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.logout-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.logout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
    color: white;
    text-decoration: none;
}

.logout-icon {
    font-size: 1.1rem;
}

.admin-section {
    max-width: 1400px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

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

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.section-icon {
    font-size: 1.6rem;
}

.section-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-container {
    position: relative;
}

.search-input {
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    font-size: 14px;
    width: 250px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-input:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.filter-buttons {
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px;
    border-radius: 10px;
}

.filter-btn {
    padding: 8px 16px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.table-container {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.table-header {
    background: linear-gradient(135deg, #4a5568, #2d3748);
    color: white;
    padding: 18px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table-row {
    border-bottom: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.table-row:hover {
    background: #f7fafc;
}

.table-cell {
    padding: 20px;
    vertical-align: middle;
}

.user-id {
    font-family: 'SF Mono', monospace;
    color: #718096;
    font-weight: 600;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
}

.user-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.user-name {
    font-weight: 600;
    color: #2d3748;
    font-size: 1rem;
}

.user-email {
    color: #718096;
    font-size: 0.85rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.phone-number {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #4a5568;
    font-size: 0.9rem;
}

.phone-icon {
    font-size: 0.8rem;
}

.no-phone {
    color: #a0aec0;
    font-style: italic;
}

.role-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-role {
    background: linear-gradient(135deg, #48bb78, #38a169);
    color: white;
}

.user-role {
    background: #edf2f7;
    color: #4a5568;
}

.role-icon {
    font-size: 0.9rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-badge.verified {
    background: #c6f6d5;
    color: #22543d;
}

.status-badge.unverified {
    background: #fed7d7;
    color: #742a2a;
}

.status-icon {
    font-size: 0.9rem;
}

.activity-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.reservation-count {
    font-size: 1.4rem;
    font-weight: 700;
    color: #4a5568;
}

.reservation-label {
    font-size: 0.75rem;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.action-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.action-form {
    margin: 0;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: none;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.verify-btn {
    background: linear-gradient(135deg, #48bb78, #38a169);
    color: white;
}

.verify-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(72, 187, 120, 0.3);
}

.delete-btn {
    background: linear-gradient(135deg, #f56565, #e53e3e);
    color: white;
}

.delete-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 101, 101, 0.3);
}

.btn-icon {
    font-size: 0.9rem;
}

.no-actions {
    color: #a0aec0;
    font-style: italic;
    font-size: 0.85rem;
}

/* Appliance Grid Admin */
.appliance-summary {
    display: flex;
    gap: 15px;
}

.summary-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    font-size: 0.9rem;
}

.summary-count {
    font-size: 1.5rem;
    font-weight: 700;
}

.appliance-grid-admin {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.appliance-card-admin {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 5px solid;
}

.appliance-card-admin.washer {
    border-left-color: #4299e1;
}

.appliance-card-admin.dryer {
    border-left-color: #ed8936;
}

.appliance-card-admin.not-working {
    border-left-color: #e53e3e;
    opacity: 0.85;
}

.appliance-card-admin:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

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

.appliance-icon {
    font-size: 2rem;
    padding: 10px;
    border-radius: 12px;
    background: #f7fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
}

.appliance-icon-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.appliance-title h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: #2d3748;
}

.appliance-id {
    color: #718096;
    font-size: 0.8rem;
    font-family: 'SF Mono', monospace;
}

.working-status {
    margin-left: auto;
}

.working-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.working-badge.working {
    background: #c6f6d5;
    color: #22543d;
}

.working-badge.not-working {
    background: #fed7d7;
    color: #742a2a;
}

.working-icon {
    font-size: 0.8rem;
}

.appliance-status {
    margin-bottom: 15px;
}

.status-badge-appliance {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.status-badge-appliance.busy {
    background: #fed7d7;
    color: #742a2a;
}

.status-badge-appliance.available {
    background: #c6f6d5;
    color: #22543d;
}

.status-badge-appliance.out-of-order {
    background: #fed7d7;
    color: #742a2a;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.reservation-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.user-info-small {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.user-avatar-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.user-details-small {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.user-name-small {
    font-size: 0.9rem;
    color: #4a5568;
    font-weight: 600;
}

.user-email-small {
    font-size: 0.75rem;
    color: #718096;
    word-break: break-all;
}

.user-phone-small {
    font-size: 0.75rem;
    color: #718096;
}

.time-info {
    font-size: 0.8rem;
    color: #718096;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.started-time {
    font-size: 0.75rem;
    color: #a0aec0;
}

.available-text {
    color: #718096;
    font-size: 0.85rem;
}

.maintenance-info {
    margin-top: 8px;
}

.maintenance-text {
    color: #e53e3e;
    font-size: 0.85rem;
    font-style: italic;
}

.appliance-actions {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.admin-action-form {
    margin: 0;
}

.admin-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: linear-gradient(135deg, #f56565, #e53e3e);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.admin-action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 101, 101, 0.3);
}

.admin-action-btn.force-end {
    background: linear-gradient(135deg, #f56565, #e53e3e);
}

.admin-action-btn.mark-broken {
    background: linear-gradient(135deg, #ed8936, #dd6b20);
}

.admin-action-btn.mark-working {
    background: linear-gradient(135deg, #48bb78, #38a169);
}

.admin-action-btn.force-end:hover {
    box-shadow: 0 4px 12px rgba(245, 101, 101, 0.3);
}

.admin-action-btn.mark-broken:hover {
    box-shadow: 0 4px 12px rgba(237, 137, 54, 0.3);
}

.admin-action-btn.mark-working:hover {
    box-shadow: 0 4px 12px rgba(72, 187, 120, 0.3);
}

/* Responsive Design for Admin */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .admin-stats {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .table-container {
        overflow-x: auto;
    }
    
    .admin-table {
        min-width: 800px;
    }
    
    .appliance-grid-admin {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .filter-buttons {
        order: 2;
        width: 100%;
        justify-content: center;
    }
}