/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    min-height: 100vh;
    background: linear-gradient(135deg, 
        #1a0b2e 0%,
        #2d1b69 25%,
        #4c1d95 50%,
        #6b21a8 75%,
        #7c3aed 100%
    );
    background-attachment: fixed;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.3) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    position: relative;
    z-index: 1;
}

/* Header */
header {
    text-align: center;
    margin-bottom: 3rem;
}

header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

header p {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
}

/* Glassmorphic sections */
.upload-section,
.results-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    padding: 2.5rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.upload-section:hover,
.results-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.5);
}

/* Upload area */
.upload-area {
    text-align: center;
}

.upload-area input[type="file"] {
    display: none;
}

.upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 3rem 2rem;
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
}

.upload-label:hover {
    border-color: rgba(139, 92, 246, 0.6);
    background: rgba(139, 92, 246, 0.1);
    transform: scale(1.02);
}

.upload-area.drag-over .upload-label {
    border-color: rgba(139, 92, 246, 0.8);
    background: rgba(139, 92, 246, 0.2);
    transform: scale(1.02);
}

.upload-label svg {
    color: rgba(255, 255, 255, 0.8);
}

.upload-label span {
    font-size: 1.2rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

/* Error messages */
.error-message {
    display: none;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin: 1rem 0;
    font-weight: 500;
    animation: slideIn 0.3s ease-out;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    line-height: 1.5;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #FCA5A5;
}

.error-message.show {
    display: flex;
}

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

/* Results section */
.results-section {
    max-width: 800px;
    margin: 2rem auto;
}

.results-section.hidden {
    display: none;
}

.results-section h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.results-content {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.results-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 1.5rem 0 1rem 0;
    color: #A855F7;
    border-bottom: 2px solid rgba(168, 85, 247, 0.3);
    padding-bottom: 0.5rem;
}

.results-content h3:first-child {
    margin-top: 0;
}

.results-content p {
    font-size: 1.1rem;
    margin: 0.5rem 0;
    padding-left: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Download button */
.download-btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #8B5CF6, #A855F7);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.4);
    width: 100%;
    justify-content: center;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.6);
}

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

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    header h1 {
        font-size: 2.5rem;
    }
    
    header p {
        font-size: 1rem;
    }
    
    .upload-section,
    .results-section {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }
    
    .upload-label {
        padding: 2rem 1rem;
    }
    
    .results-content {
        padding: 1.5rem;
    }
    
    .results-content h3 {
        font-size: 1.3rem;
    }
    
    .results-content p {
        font-size: 1rem;
    }
    
    .download-btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 2rem;
    }
    
    .upload-section,
    .results-section {
        padding: 1.5rem 1rem;
        border-radius: 16px;
    }
    
    .upload-label {
        padding: 1.5rem 1rem;
    }
    
    .upload-label span {
        font-size: 1rem;
    }
    
    .results-content {
        padding: 1rem;
    }
    
    .download-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Accessibility */
.upload-label:focus-within {
    outline: 2px solid #8B5CF6;
    outline-offset: 2px;
}

.download-btn:focus {
    outline: 3px solid #8B5CF6;
    outline-offset: 2px;
    box-shadow: 0 0 0 6px rgba(139, 92, 246, 0.3);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Password Protection Styles */
.password-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        #1a0b2e 0%,
        #2d1b69 25%,
        #4c1d95 50%,
        #6b21a8 75%,
        #7c3aed 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.password-container {
    width: 100%;
    max-width: 450px;
    padding: 2rem;
}

.password-card {
    text-align: center;
    padding: 3rem 2.5rem;
}

.password-icon {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.password-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.password-description {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 2rem;
}

.password-form {
    width: 100%;
}

.password-input-container {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.password-remember-container {
    margin-bottom: 1rem;
    text-align: left;
}

.password-remember-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    user-select: none;
    transition: color 0.3s ease;
}

.password-remember-label:hover {
    color: rgba(255, 255, 255, 1);
}

.password-remember-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #8B5CF6;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.password-remember-checkbox:checked {
    accent-color: #8B5CF6;
}

.password-remember-checkbox:focus {
    outline: 2px solid rgba(139, 92, 246, 0.5);
    outline-offset: 2px;
}

.password-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.password-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.password-input:focus {
    outline: none;
    border-color: #8B5CF6;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.2);
}

.password-submit {
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #8B5CF6, #A855F7);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.4);
}

.password-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.6);
}

.password-submit:active {
    transform: translateY(0);
}

.password-error {
    padding: 0.8rem 1rem;
    border-radius: 8px;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #FCA5A5;
    font-size: 0.9rem;
    animation: slideIn 0.3s ease-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Purple gradient utility */
.purple-gradient {
    background: linear-gradient(135deg, #8B5CF6, #A855F7);
}

/* Responsive password screen */
@media (max-width: 480px) {
    .password-container {
        padding: 1rem;
    }
    
    .password-card {
        padding: 2rem 1.5rem;
    }
    
    .password-title {
        font-size: 1.5rem;
    }
    
    .password-description {
        font-size: 1rem;
    }
    
    .password-input-container {
        flex-direction: column;
    }
    
    .password-submit {
        width: 100%;
    }
}

/* Generate from Sales Section */
.generate-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    padding: 2.5rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.generate-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.5);
}

.generate-section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.generate-section p {
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.generate-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.days-selector {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.days-selector label {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.days-selector input {
    width: 80px;
    padding: 0.75rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.days-selector input:focus {
    outline: none;
    border-color: #8B5CF6;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.2);
}

.generate-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.4);
    flex: 1;
    justify-content: center;
    min-width: 250px;
}

.generate-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.6);
}

.generate-btn:active:not(:disabled) {
    transform: translateY(0);
}

.generate-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.generate-btn.loading svg {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.generate-status {
    display: none;
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    animation: slideIn 0.3s ease-out;
}

.generate-status.show {
    display: block;
}

/* Section Divider */
.section-divider {
    display: flex;
    align-items: center;
    margin: 2rem 0;
}

.section-divider::before,
.section-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.section-divider span {
    padding: 0 1.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Upload section title */
.upload-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Results header with period info */
.results-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.results-period {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    padding: 0;
}

.results-period strong {
    color: #A855F7;
}

/* Responsive adjustments for generate section */
@media (max-width: 768px) {
    .generate-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .days-selector {
        justify-content: center;
    }

    .generate-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .generate-section {
        padding: 1.5rem 1rem;
    }

    .generate-section h2 {
        font-size: 1.4rem;
    }

    .generate-btn {
        padding: 0.85rem 1.5rem;
        font-size: 1rem;
    }
}

/* Production Summary Styles */
.production-summary {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.production-summary h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    border-bottom: none;
    padding-bottom: 0;
}

.summary-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.stat {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #A855F7;
    line-height: 1.2;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.25rem;
}

/* Production List Styles */
.production-list {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.production-list h3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(168, 85, 247, 0.3);
}

.list-total {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(139, 92, 246, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}

.category-group {
    margin-bottom: 1.25rem;
}

.category-group:last-child {
    margin-bottom: 0;
}

.category-group h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #A855F7;
    margin: 1rem 0 0.5rem 0;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid rgba(168, 85, 247, 0.2);
}

.product-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0.75rem;
    margin: 0.25rem 0;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    transition: background 0.2s ease;
}

.product-list li:hover {
    background: rgba(255, 255, 255, 0.08);
}

.product-name {
    color: rgba(255, 255, 255, 0.9);
}

.product-units {
    font-weight: 600;
    color: #A855F7;
    background: rgba(139, 92, 246, 0.15);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.9rem;
}

/* Responsive adjustments for production lists */
@media (max-width: 768px) {
    .summary-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-value {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .summary-stats {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .stat {
        padding: 0.75rem;
    }

    .stat-value {
        font-size: 1.25rem;
    }

    .production-list {
        padding: 1rem;
    }

    .production-list h3 {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
}

/* SKU Selector Section */
.sku-selector-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    padding: 2.5rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s ease;
    animation: slideIn 0.3s ease-out;
}

.sku-selector-section.hidden {
    display: none;
}

.sku-selector-section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sku-selector-section > p {
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.sku-selector-controls {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.sku-toggle-btn {
    padding: 0.5rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sku-toggle-btn:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.5);
}

.sku-list {
    max-height: 450px;
    overflow-y: auto;
    margin-bottom: 1.5rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
}

.sku-list::-webkit-scrollbar {
    width: 6px;
}

.sku-list::-webkit-scrollbar-track {
    background: transparent;
}

.sku-list::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.4);
    border-radius: 3px;
}

.sku-category-group {
    margin-bottom: 0.5rem;
}

.sku-category-header {
    font-size: 1rem;
    font-weight: 600;
    color: #A855F7;
    padding: 0.6rem 1rem;
    margin: 0;
    border-bottom: 1px solid rgba(168, 85, 247, 0.2);
}

.sku-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    transition: background 0.2s ease;
    cursor: pointer;
}

.sku-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.sku-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #8B5CF6;
    cursor: pointer;
    flex-shrink: 0;
}

.sku-item-name {
    flex: 1;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.sku-item-units {
    font-weight: 600;
    color: #A855F7;
    background: rgba(139, 92, 246, 0.15);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.85rem;
    white-space: nowrap;
}

.sku-item.excluded .sku-item-name {
    opacity: 0.4;
    text-decoration: line-through;
}

.sku-item.excluded .sku-item-units {
    opacity: 0.4;
}

.production-settings {
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 16px;
}

.production-settings h3 {
    margin: 0 0 1rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.settings-row {
    display: flex;
    gap: 1.25rem;
}

.setting-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.setting-field label {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
}

.setting-field input {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.setting-field input:focus {
    outline: none;
    border-color: #8B5CF6;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.2);
}

.settings-row-toggles {
    margin-top: 1rem;
    flex-wrap: wrap;
}

.setting-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.9rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
}

.setting-toggle:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(139, 92, 246, 0.5);
}

.setting-toggle input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #8B5CF6;
    cursor: pointer;
    margin: 0;
}

.setting-toggle-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

@media (max-width: 480px) {
    .settings-row {
        flex-direction: column;
        gap: 0.75rem;
    }
}

.sku-selector-section .generate-btn {
    margin-top: 1rem;
}

@media (max-width: 480px) {
    .sku-selector-section {
        padding: 1.5rem 1rem;
    }

    .sku-list {
        max-height: 350px;
    }
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 4rem;
    padding: 2rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
    opacity: 0.7;
    font-size: 0.9rem;
    line-height: 1.8;
}
