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

body {
    font-family: Verdana, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    /* background-color: #faf9f5;*/
    background-color: #EEECE4;
    font-size: 16px;
    font-weight: 300; /* Thinner font weight */
}

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

/* Utility Classes */
.hidden {
    display: none !important;
}

/* Authentication Section */
.auth-container {
    max-width: 400px;
    margin: 100px auto;
    padding: 40px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background-color: #ffffff;
}

.auth-container h1 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 32px;
    text-align: center;
    color: #1a1a1a;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333333;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

button {
    background-color: #ff6b9d;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

button:hover {
    background-color: #ff4081;
}

button:active {
    background-color: #e91e63;
}

#auth-button {
    width: 100%;
    margin-top: 8px;
}

/* Error and Success Messages */
/* Legacy styles for auth messages */
.error-message, .success-message {
    font-size: 14px;
    margin-top: 12px;
    padding: 8px 12px;
    border-radius: 4px;
}

.error-message {
    color: #dc2626;
    background-color: #fef2f2;
    border: 1px solid #fecaca;
}

.success-message {
    color: #059669;
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
}

/* Toast Notifications */
.toast-notification {
    position: fixed;
    top: 50px;
    right: 50px;
    min-width: 300px;
    max-width: 400px;
    padding: 16px 20px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 500;
    animation: slideIn 0.3s ease-out;
}

.toast-success {
    color: #059669;
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.toast-error {
    color: #dc2626;
    background-color: #fef2f2;
    border: 1px solid #fecaca;
}

.toast-message {
    flex: 1;
    margin-right: 12px;
}

.toast-close {
    background: none;
    border: none;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    color: inherit;
    opacity: 0.7;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    transition: opacity 0.2s ease, background-color 0.2s ease;
}

.toast-close:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.1);
}

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

/* App Content */
.app-content {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0 30px 0;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 20px;
}

.app-header h1 {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
}

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

.user-info span {
    font-size: 14px;
    color: #666666;
}

.logout-btn {
    background-color: transparent;
    color: #666666;
    border: 1px solid #d1d5db;
    padding: 8px 16px;
    font-size: 14px;
}

.logout-btn:hover {
    background-color: #f9fafb;
    color: #1a1a1a;
}

/* Navigation */
.app-nav {
    padding: 24px 0;
    border-bottom: 1px solid #e5e5e5;
}

.app-nav ul {
    list-style: none;
    display: flex;
    gap: 32px;
}

.app-nav a {
    text-decoration: none;
    color: #666666;
    font-weight: 500;
    font-size: 16px;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.app-nav a:hover {
    color: #1a1a1a;
}

.app-nav a.active {
    color: #1a1a1a;
    border-bottom-color: #1a1a1a;
}

/* Main Content */
.app-main {
    flex: 1;
    padding: 40px 0;
    display: flex;
    justify-content: center;
}

.content-section {
    max-width: 800px;
    width: 100%;
}

.content-section h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.content-section p {
    font-size: 18px;
    line-height: 1.7;
    color: #333333;
    margin-bottom: 24px;
}

/* Loading */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.loading p {
    font-size: 16px;
    color: #666666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .auth-container {
        margin: 40px auto;
        padding: 24px;
    }

    .app-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .user-info {
        width: 100%;
        justify-content: space-between;
    }

    .app-nav ul {
        flex-wrap: wrap;
        gap: 16px;
    }

    .app-main {
        padding: 24px 0;
    }

    .content-section h2 {
        font-size: 24px;
    }

    .content-section p {
        font-size: 16px;
    }
}

/* Focus Styles for Accessibility */
*:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

button:focus,
input:focus {
    outline: none;
}

/* Additional Content Styling */
.content-section {
    animation: fadeIn 0.3s ease-in-out;
}

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

/* Override font weights for consistency */
h1, h2, h3, h4, h5, h6 {
    font-weight: 400; /* Lighter than normal bold */
}

button {
    font-weight: 400; /* Lighter button text */
}

.form-group label {
    font-weight: 400; /* Lighter label text */
}

.app-nav a {
    font-weight: 400; /* Lighter navigation text */
}

.app-nav a.active {
    font-weight: 500; /* Slightly heavier for active state */
}

/* Design Studio Styles */
.design-container, .result-container {
    display: block;
    width: 100%;
}

.garment-display {
    position: relative;
    text-align: center;
    width: 100%;
    aspect-ratio: 2.015;
    cursor: pointer;
    transition: background-color 0.2s ease;
    overflow: hidden;
}

.garment-display.drag-over {
    background-color: rgba(37, 99, 235, 0.1);
}

.garment-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 1%;
}

.design-overlay {
    position: absolute;
    top: 50%;
    left: 25%;
    transform: translate(-50%, -50%);
    max-width: 30%;
    max-height: 40%;
    opacity: 0.8;
    border-radius: 4px;
}

.upload-button {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #ff6b9d;
    color: white;
    border: none;
    font-size: 32px;
    font-weight: 300;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(255, 107, 157, 0.3);
    transition: all 0.2s ease;
    z-index: 10;
}

.upload-button:hover {
    background-color: #ff4081;
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(255, 107, 157, 0.4);
}

.upload-button:active {
    transform: scale(0.95);
}

/* Dual Image Preview Overlay */
.design-overlay.dual-image {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 8px;
}

.preview-image {
    max-width: 40%;
    max-height: 80%;
    object-fit: contain;
    border-radius: 4px;
}

.plus-sign {
    font-size: 24px;
    font-weight: bold;
    color: #666666;
    flex-shrink: 0;
}

.file-input {
    display: none;
}

.process-btn {
    width: 100%;
    max-width: 400px;
    background-color: #ff6b9d;
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 400;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin: 24px auto 0;
    display: block;
}

.process-btn:hover:not(:disabled) {
    background-color: #ff4081;
}

.process-btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

/* Advanced Options Footer */
.advanced-options-footer {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background-color: #ffffff;
    border-top: 1px solid #e5e5e5;
    margin-top: 40px;
    padding: 24px 0;
}

.advanced-toggle {
    width: 100%;
    background: none;
    border: none;
    padding: 12px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    color: #666666;
/*    transition: color 0.2s ease;*/
}

.advanced-toggle:hover {
    color: #1a1a1a;
}

.toggle-icon {
    font-size: 14px;
    transition: transform 0.2s ease;
}

.advanced-panel {
    padding-top: 16px;
    animation: slideDown 0.3s ease-out;
}

.advanced-panel.hidden {
    display: none;
}

.advanced-panel h3 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.prompt-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.prompt-option {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.prompt-option input[type="radio"] {
    margin-top: 2px;
    cursor: pointer;
}

.prompt-option label {
    cursor: pointer;
    font-size: 14px;
    color: #1a1a1a;
    line-height: 1.4;
}

.custom-prompt-input {
    width: 100%;
    min-height: 80px;
    padding: 12px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    margin-top: 8px;
    transition: border-color 0.2s ease;
}

.custom-prompt-input:focus {
    outline: none;
    border-color: #ff6b9d;
}

.custom-prompt-input:disabled {
    background-color: #f5f5f5;
    color: #999999;
    cursor: not-allowed;
}

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

.secondary-btn {
    background-color: transparent;
    color: #ff6b9d;
    border: 2px solid #ff6b9d;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.2s ease;
}

.secondary-btn:hover {
    background-color: #ff6b9d;
    color: white;
}

/* Processing Overlay */
.processing-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(138, 43, 226, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.processing-content {
    text-align: center;
    max-width: 400px;
    padding: 40px;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 24px;
}

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

.processing-message {
    font-size: 24px;
    color: #ffffff;
    line-height: 1.6;
    animation: fadeIn 0.5s ease-in-out;
    font-weight: 500;
}

/* Result Section */
.result-section {
    text-align: center;
    padding: 40px 0;
}

.result-section h2 {
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 32px;
    color: #1a1a1a;
}

.result-container {
    margin-bottom: 32px;
}

.result-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 24px auto 0;
    max-width: 400px;
}

.primary-btn {
    background-color: #ff6b9d;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.primary-btn:hover {
    background-color: #ff4081;
}

.result-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.result-img-clipped {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
}

/* Hamburger Menu Button */
.hamburger-btn {
    position: fixed;
    top: 10px;
    left: 10px;
    width: 44px;
    height: 44px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e5e5e5;
    cursor: pointer;
    z-index: 1001;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 0;
}

.hamburger-btn:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hamburger-btn::before,
.hamburger-btn::after,
.hamburger-line {
    width: 18px;
    height: 2px;
    background-color: #666666;
    border-radius: 1px;
    transition: background-color 0.2s ease;
}

.hamburger-btn::before,
.hamburger-btn::after {
    content: '';
}

.hamburger-btn:hover::before,
.hamburger-btn:hover::after,
.hamburger-btn:hover .hamburger-line {
    background-color: #333333;
}

/* Dock Menu */
.dock-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100vh;
    background: #ffffff;
    border-right: 1px solid #e5e5e5;
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.1);
    z-index: 1002;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.dock-menu.open {
    transform: translateX(0);
}

.dock-header {
    padding: 10px;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    justify-content: flex-end;
}

.close-btn {
    width: 50px;
    height: 50px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.9);
    /* border: 1px solid #e5e5e5;*/
    cursor: pointer;
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);*/
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666666;
    font-size: 28px;
    font-weight: normal;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: #333333;
}

.dock-content {
    padding: 16px;
}

.dock-section-title {
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 12px;
    font-size: 14px;
}

.dock-radio {
    display: block;
    margin: 12px 0;
    cursor: pointer;
    color: #333333;
    font-size: 14px;
}

.dock-radio input {
    margin-right: 8px;
}

/* Carousel Navigation Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    color: #1a1a1a;
    border: 1px solid #e5e5e5;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 42px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.carousel-arrow:hover:not(:disabled) {
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.carousel-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

/* Garment Loading State */
.garment-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background-color: #f5f5f5; */
    background-color: #EEECE4;
    color: #667;
    font-size: 18px;
}

/* Responsive Design for Design Studio */
@media (max-width: 768px) {
    .garment-display {
        aspect-ratio: 2.015;
    }
    
    .upload-button {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 15px;
        left: 15px;
    }
    
    .processing-content {
        padding: 24px;
    }
    
    .processing-message {
        font-size: 20px;
    }
    
    /* Mobile adjustments */
    .hamburger-btn {
        top: 20px;
        left: 20px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .dock-menu {
        width: 180px;
    }
}

/* ======================================
   Admin Dashboard Styles
   ====================================== */

.admin-dashboard {
    min-height: 100vh;
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e5e5;
}

.admin-header h2 {
    font-size: 24px;
    font-weight: 400;
    color: #1a1a1a;
    margin: 0;
}

.admin-header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.admin-header-actions span {
    font-size: 14px;
    color: #666666;
}

.admin-content {
    position: relative;
}

.admin-content h3 {
    font-size: 18px;
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 16px;
}

/* Orders Loading */
.orders-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    color: #666666;
    font-size: 16px;
}

/* Orders Empty State */
.orders-empty {
    text-align: center;
    padding: 60px;
    color: #666666;
}

.orders-empty .error {
    color: #dc2626;
}

/* Orders Table */
.orders-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.orders-table th,
.orders-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid #e5e5e5;
}

.orders-table th {
    background-color: #f9fafb;
    font-weight: 500;
    color: #666666;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.orders-table tbody tr:hover {
    background-color: #f9fafb;
}

.orders-table tbody tr:last-child td {
    border-bottom: none;
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.status-paid {
    background-color: #d1fae5;
    color: #059669;
}

.status-unfulfilled {
    background-color: #fef3c7;
    color: #d97706;
}

.status-fulfilled {
    background-color: #dbeafe;
    color: #2563eb;
}

/* Details Button */
.details-btn {
    background-color: #ff6b9d;
    color: white;
    border: none;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.details-btn:hover {
    background-color: #ff4081;
}

/* Pagination Controls */
.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
    padding: 16px 0;
}

.pagination-controls button {
    padding: 8px 16px;
    font-size: 14px;
}

.pagination-controls button:disabled {
    background-color: transparent;
    color: #cccccc;
    border-color: #e5e5e5;
    cursor: not-allowed;
}

.pagination-controls span {
    font-size: 14px;
    color: #666666;
}

/* Order Details Screen (Full Page) */
.order-details-screen {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.order-details-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e5e5e5;
    background: #ffffff;
}

.order-details-header h2 {
    font-size: 20px;
    font-weight: 500;
    color: #1a1a1a;
    margin: 0;
}

.order-details-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    flex: 1;
    min-height: 0;
}

.order-info-column {
    padding: 32px;
    overflow-y: auto;
    background: #ffffff;
    border-right: 1px solid #e5e5e5;
}

.order-image-column {
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9fafb;
    overflow: hidden;
}

.order-image-column img {
    max-width: 100%;
    max-height: calc(100vh - 120px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.order-image-column .no-image {
    color: #666666;
    font-size: 16px;
    text-align: center;
}

.detail-section {
    margin-bottom: 28px;
}

.detail-section:last-child {
    margin-bottom: 0;
}

.detail-section h4 {
    font-size: 12px;
    font-weight: 500;
    color: #666666;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-section p {
    font-size: 14px;
    color: #1a1a1a;
    margin-bottom: 6px;
    line-height: 1.5;
}

.detail-section p:last-child {
    margin-bottom: 0;
}

.detail-section strong {
    font-weight: 500;
}

/* Design Image Preview */
.design-preview-img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-top: 8px;
}

/* Process Order Button (in header) */
.process-order-btn {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
}

.process-order-btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

/* Admin Responsive */
@media (max-width: 768px) {
    .admin-dashboard {
        padding: 16px;
    }

    .admin-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .admin-header-actions {
        width: 100%;
        justify-content: space-between;
    }

    .orders-table {
        font-size: 14px;
    }

    .orders-table th,
    .orders-table td {
        padding: 10px 12px;
    }

    /* Hide some columns on mobile */
    .orders-table th:nth-child(4),
    .orders-table td:nth-child(4),
    .orders-table th:nth-child(5),
    .orders-table td:nth-child(5) {
        display: none;
    }

    /* Order details - stack on mobile */
    .order-details-layout {
        grid-template-columns: 1fr;
    }

    .order-info-column {
        border-right: none;
        border-bottom: 1px solid #e5e5e5;
        padding: 24px 16px;
    }

    .order-image-column {
        padding: 24px 16px;
    }

    .order-image-column img {
        max-height: 50vh;
    }

    .order-details-header {
        padding: 16px;
    }

    .order-details-header h2 {
        font-size: 16px;
    }

    .process-order-btn {
        padding: 8px 14px;
        font-size: 13px;
    }
}