:root{--color-primary: #6366f1;--color-primary-hover: #4f46e5;--color-primary-light: #e0e7ff;--color-success: #22c55e;--color-success-hover: #16a34a;--color-error: #ef4444;--color-error-light: #fef2f2;--color-warning: #f59e0b;--color-info: #3b82f6;--bg-primary: #ffffff;--bg-secondary: #f8fafc;--bg-tertiary: #f1f5f9;--text-primary: #0f172a;--text-secondary: #475569;--text-muted: #94a3b8;--border-color: #e2e8f0;--border-hover: #cbd5e1;--shadow-sm: 0 1px 2px rgba(0, 0, 0, .05);--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1);--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);--radius-sm: 8px;--radius-md: 12px;--radius-lg: 16px;--radius-full: 9999px;--transition: .2s ease}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}body{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;background-color:var(--bg-secondary);color:var(--text-primary);line-height:1.6;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}img{max-width:100%;height:auto;display:block}button{cursor:pointer;border:none;font-family:inherit;font-size:inherit}input{font-family:inherit;font-size:inherit}.app{min-height:100vh;display:flex;flex-direction:column;padding:1.5rem;max-width:1200px;margin:0 auto;gap:1.5rem}.app-header{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.5rem;background:var(--bg-primary);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);border:1px solid var(--border-color)}.app-header-left{display:flex;align-items:center;gap:1rem}.back-link{color:var(--text-secondary);text-decoration:none;font-size:.85rem;font-weight:500;padding:.4rem .8rem;border-radius:var(--radius-sm);border:1px solid var(--border-color);transition:all var(--transition)}.back-link:hover{color:var(--color-primary);border-color:var(--color-primary);background:var(--color-primary-light)}.app-header h1{font-size:1.75rem;font-weight:800;background:linear-gradient(135deg,var(--color-primary),#a855f7);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;letter-spacing:-.02em}.app-subtitle{font-size:.875rem;color:var(--text-muted);font-weight:500}.app-header .auth-button{padding:.5rem 1.25rem;border-radius:var(--radius-full);background:var(--bg-tertiary);color:var(--text-primary);font-weight:600;font-size:.875rem;transition:all var(--transition);border:1px solid var(--border-color)}.app-header .auth-button:hover{background:var(--color-primary-light);border-color:var(--color-primary);color:var(--color-primary)}.app-main{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}.upload-section,.product-section,.controls-section,.result-section{padding:1.5rem;border:1px solid var(--border-color);border-radius:var(--radius-lg);background:var(--bg-primary);box-shadow:var(--shadow-sm)}.upload-section{grid-column:span 2}.upload-zone{display:flex;flex-direction:column;gap:1rem}.upload-dropzone{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2.5rem 2rem;border:2px dashed var(--border-color);border-radius:var(--radius-md);background:var(--bg-secondary);transition:all var(--transition);text-align:center;cursor:pointer;min-height:200px}.upload-dropzone:hover{border-color:var(--color-primary);background:var(--color-primary-light)}.upload-dropzone.drag-over{border-color:var(--color-primary);background:var(--color-primary-light);transform:scale(1.01)}.upload-dropzone.error{border-color:var(--color-error);background:var(--color-error-light)}.upload-icon{font-size:3rem;margin-bottom:.75rem}.upload-dropzone h3{font-size:1.125rem;font-weight:700;color:var(--text-primary);margin-bottom:.25rem}.upload-dropzone p{font-size:.875rem;color:var(--text-secondary)}.upload-hint{font-size:.75rem!important;color:var(--text-muted)!important;margin-top:.5rem}.upload-button{display:inline-flex;align-items:center;gap:.5rem;padding:.625rem 1.5rem;margin-top:1rem;background:var(--color-primary);color:#fff;border-radius:var(--radius-sm);font-weight:600;font-size:.875rem;cursor:pointer;transition:all var(--transition)}.upload-button:hover{background:var(--color-primary-hover);transform:translateY(-1px);box-shadow:var(--shadow-md)}.file-info{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;margin-top:.75rem;background:var(--color-primary-light);border-radius:var(--radius-sm);font-size:.875rem;font-weight:500;color:var(--color-primary)}.file-count{font-size:.875rem;color:var(--text-secondary);font-weight:500;margin-top:.5rem}.error-message{padding:.5rem 1rem;margin-top:.75rem;background:var(--color-error-light);color:var(--color-error);border-radius:var(--radius-sm);font-size:.875rem;font-weight:500}.result-error{display:flex;flex-direction:column;align-items:center;gap:.75rem;padding:2.5rem 1.5rem;border:1px dashed var(--color-error);border-radius:var(--radius-md);background:var(--color-error-light);text-align:center}.result-error-icon{font-size:2.5rem}.result-error h3{font-size:1.1rem;color:var(--text-primary);margin:0}.result-error-message{font-size:.9rem;color:var(--color-error);font-weight:500;max-width:480px;word-break:break-word}.result-error .generate-button{margin-top:.5rem}.reset-button{align-self:flex-end;padding:.5rem 1rem;background:var(--bg-tertiary);color:var(--text-secondary);border-radius:var(--radius-sm);font-weight:600;font-size:.8rem;transition:all var(--transition);border:1px solid var(--border-color)}.reset-button:hover{background:var(--color-error-light);color:var(--color-error);border-color:var(--color-error)}.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:.75rem}.product-item{position:relative;aspect-ratio:1;border-radius:var(--radius-sm);overflow:hidden;border:2px solid var(--border-color);background:var(--bg-secondary);transition:all var(--transition)}.product-item:hover{border-color:var(--color-primary);box-shadow:var(--shadow-md)}.product-image{width:100%;height:100%;object-fit:cover}.remove-button{position:absolute;top:4px;right:4px;width:24px;height:24px;border-radius:var(--radius-full);background:var(--color-error);color:#fff;font-size:.75rem;display:flex;align-items:center;justify-content:center;opacity:0;transition:all var(--transition);box-shadow:var(--shadow-sm)}.product-item:hover .remove-button{opacity:1}.remove-button:hover{background:#dc2626;transform:scale(1.1)}.product-label{position:absolute;bottom:0;left:0;right:0;padding:.25rem;background:linear-gradient(transparent,#000000b3);color:#fff;font-size:.7rem;font-weight:600;text-align:center}.product-slot.empty{display:flex;align-items:center;justify-content:center;border-style:dashed;border-color:var(--border-hover)}.slot-hint{font-size:.7rem;color:var(--text-muted);font-weight:500;text-align:center;padding:.5rem}.ratio-selector h3{font-size:.875rem;font-weight:700;color:var(--text-primary);margin-bottom:.75rem}.ratio-options{display:grid;grid-template-columns:repeat(2,1fr);gap:.5rem}.ratio-option{display:flex;flex-direction:column;align-items:center;gap:.25rem;padding:.75rem .5rem;background:var(--bg-secondary);border:2px solid var(--border-color);border-radius:var(--radius-sm);transition:all var(--transition);font-weight:500}.ratio-option:hover{border-color:var(--color-primary);background:var(--color-primary-light)}.ratio-option.selected{border-color:var(--color-primary);background:var(--color-primary);color:#fff;box-shadow:0 0 0 3px var(--color-primary-light)}.ratio-icon{font-size:1.25rem}.ratio-label{font-size:.75rem}.controls-section .generate-button,.generate-button{padding:1rem 2rem;background:linear-gradient(135deg,var(--color-success),#059669);color:#fff;border:none;border-radius:var(--radius-sm);font-size:1rem;font-weight:700;cursor:pointer;width:100%;margin-top:1rem;transition:all var(--transition);box-shadow:var(--shadow-sm)}.generate-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:var(--shadow-lg)}.generate-button:disabled{background:var(--bg-tertiary);color:var(--text-muted);cursor:not-allowed;box-shadow:none}.result-container{display:flex;flex-direction:column;gap:1rem}.result-controls{display:flex;gap:.5rem;flex-wrap:wrap}.control-button{padding:.5rem 1rem;background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:var(--radius-sm);font-size:.8rem;font-weight:600;color:var(--text-secondary);transition:all var(--transition);flex:1;text-align:center}.control-button:hover{background:var(--color-primary-light);border-color:var(--color-primary);color:var(--color-primary)}.result-canvas-container{position:relative;width:100%;aspect-ratio:3/4;border-radius:var(--radius-md);overflow:hidden;background:var(--bg-tertiary);border:1px solid var(--border-color)}.result-canvas{width:100%;height:100%;display:block}.zoom-controls{display:flex;align-items:center;justify-content:center;gap:1rem;padding:.5rem;background:var(--bg-secondary);border-radius:var(--radius-sm);border:1px solid var(--border-color)}.zoom-controls button{width:32px;height:32px;border-radius:var(--radius-full);background:var(--bg-primary);border:1px solid var(--border-color);font-weight:700;font-size:1rem;color:var(--text-primary);display:flex;align-items:center;justify-content:center;transition:all var(--transition)}.zoom-controls button:hover{background:var(--color-primary);color:#fff;border-color:var(--color-primary)}.zoom-controls span{font-size:.875rem;font-weight:600;color:var(--text-secondary);min-width:50px;text-align:center}.result-canvas.empty{display:flex;align-items:center;justify-content:center;min-height:300px;background:var(--bg-secondary);border:2px dashed var(--border-color);border-radius:var(--radius-md)}.empty-state{text-align:center;padding:2rem}.empty-icon{font-size:3rem;margin-bottom:1rem}.empty-state h3{font-size:1rem;font-weight:700;color:var(--text-primary);margin-bottom:.25rem}.empty-state p{font-size:.875rem;color:var(--text-muted)}.toast-container{position:fixed;top:1rem;right:1rem;z-index:10000;display:flex;flex-direction:column;gap:.5rem;max-width:380px}.toast{display:flex;align-items:center;gap:.75rem;padding:.875rem 1.25rem;border-radius:var(--radius-sm);background:var(--bg-primary);box-shadow:var(--shadow-lg);border:1px solid var(--border-color);animation:slideInRight .3s ease}@keyframes slideInRight{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}.toast-success{border-left:4px solid var(--color-success)}.toast-error{border-left:4px solid var(--color-error)}.toast-info{border-left:4px solid var(--color-info)}.toast-icon{font-size:1.125rem;font-weight:700;width:28px;height:28px;border-radius:var(--radius-full);display:flex;align-items:center;justify-content:center;flex-shrink:0}.toast-success .toast-icon{background:#dcfce7;color:var(--color-success)}.toast-error .toast-icon{background:#fef2f2;color:var(--color-error)}.toast-info .toast-icon{background:#dbeafe;color:var(--color-info)}.toast-message{flex:1;font-size:.875rem;font-weight:500;color:var(--text-primary);line-height:1.4}.toast-close{width:24px;height:24px;border-radius:var(--radius-full);background:transparent;color:var(--text-muted);font-size:.75rem;display:flex;align-items:center;justify-content:center;transition:all var(--transition);flex-shrink:0}.toast-close:hover{background:var(--bg-tertiary);color:var(--text-primary)}.auth-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:9999;animation:fadeIn .2s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.auth-modal{background:var(--bg-primary);border-radius:var(--radius-lg);padding:2rem;width:90%;max-width:400px;box-shadow:var(--shadow-lg);animation:scaleIn .2s ease}@keyframes scaleIn{0%{transform:scale(.95);opacity:0}to{transform:scale(1);opacity:1}}.auth-modal h2{font-size:1.25rem;font-weight:700;text-align:center;margin-bottom:1.5rem;color:var(--text-primary)}.auth-button.google{display:flex;align-items:center;justify-content:center;gap:.75rem;width:100%;padding:.75rem 1rem;background:var(--bg-primary);border:2px solid var(--border-color);border-radius:var(--radius-sm);font-weight:600;font-size:.9rem;color:var(--text-primary);transition:all var(--transition)}.auth-button.google:hover{background:var(--bg-secondary);border-color:var(--border-hover);box-shadow:var(--shadow-sm)}.google-icon{width:24px;height:24px;border-radius:var(--radius-full);background:linear-gradient(135deg,#4285f4,#34a853,#fbbc05,#ea4335);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.875rem}.auth-divider{display:flex;align-items:center;gap:1rem;margin:1.25rem 0;color:var(--text-muted);font-size:.8rem}.auth-divider:before,.auth-divider:after{content:"";flex:1;height:1px;background:var(--border-color)}.auth-email-form{display:flex;flex-direction:column;gap:.75rem}.auth-email-form input{padding:.75rem 1rem;border:2px solid var(--border-color);border-radius:var(--radius-sm);font-size:.9rem;transition:all var(--transition);outline:none}.auth-email-form input:focus{border-color:var(--color-primary);box-shadow:0 0 0 3px var(--color-primary-light)}.auth-email-form button{padding:.75rem 1rem;background:var(--color-primary);color:#fff;border-radius:var(--radius-sm);font-weight:600;font-size:.9rem;transition:all var(--transition)}.auth-email-form button:hover:not(:disabled){background:var(--color-primary-hover)}.auth-email-form button:disabled{opacity:.6;cursor:not-allowed}.auth-error{padding:.5rem .75rem;margin-top:.5rem;background:var(--color-error-light);color:var(--color-error);border-radius:var(--radius-sm);font-size:.8rem;font-weight:500}.auth-close{width:100%;padding:.625rem;margin-top:.75rem;background:transparent;color:var(--text-muted);font-weight:600;font-size:.85rem;border-radius:var(--radius-sm);transition:all var(--transition)}.auth-close:hover{background:var(--bg-tertiary);color:var(--text-primary)}.history-panel{padding:1.5rem;background:var(--bg-primary);border-radius:var(--radius-lg);border:1px solid var(--border-color);box-shadow:var(--shadow-sm)}.history-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.history-header h3{font-size:1rem;font-weight:700;color:var(--text-primary)}.history-refresh{padding:.375rem .75rem;background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:var(--radius-sm);font-size:.75rem;font-weight:600;color:var(--text-secondary);transition:all var(--transition)}.history-refresh:hover:not(:disabled){background:var(--color-primary-light);border-color:var(--color-primary);color:var(--color-primary)}.history-loading{text-align:center;padding:2rem;color:var(--text-muted);font-size:.875rem}.history-empty{text-align:center;padding:2rem 1rem}.history-empty-icon{font-size:2.5rem;margin-bottom:.75rem}.history-empty p{font-size:.875rem;color:var(--text-muted);line-height:1.5}.history-empty p:first-of-type{font-weight:600;color:var(--text-secondary)}.history-error{padding:.5rem .75rem;margin-bottom:1rem;background:var(--color-error-light);color:var(--color-error);border-radius:var(--radius-sm);font-size:.8rem;font-weight:500}.history-list{display:flex;flex-direction:column;gap:.5rem}.history-item{display:flex;align-items:center;gap:.75rem;padding:.75rem;background:var(--bg-secondary);border-radius:var(--radius-sm);border:1px solid var(--border-color);transition:all var(--transition)}.history-item:hover{border-color:var(--border-hover);box-shadow:var(--shadow-sm)}.history-item-image{width:56px;height:56px;border-radius:var(--radius-sm);overflow:hidden;flex-shrink:0;background:var(--bg-tertiary)}.history-item-image img{width:100%;height:100%;object-fit:cover}.history-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:.65rem;color:var(--text-muted)}.history-item-info{flex:1;display:flex;flex-direction:column;gap:.125rem}.history-ratio{font-size:.75rem;font-weight:700;color:var(--color-primary);background:var(--color-primary-light);padding:.125rem .5rem;border-radius:var(--radius-full);width:fit-content}.history-date{font-size:.75rem;color:var(--text-muted)}.history-products{font-size:.75rem;color:var(--text-secondary);font-weight:500}.history-delete{width:32px;height:32px;border-radius:var(--radius-full);background:transparent;color:var(--text-muted);font-size:.875rem;display:flex;align-items:center;justify-content:center;transition:all var(--transition);flex-shrink:0}.history-delete:hover:not(:disabled){background:var(--color-error-light);color:var(--color-error)}.history-delete:disabled{opacity:.5;cursor:not-allowed}.history-load-more{width:100%;padding:.625rem;margin-top:.75rem;background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:var(--radius-sm);font-weight:600;font-size:.8rem;color:var(--text-secondary);transition:all var(--transition)}.history-load-more:hover:not(:disabled){background:var(--color-primary-light);border-color:var(--color-primary);color:var(--color-primary)}.progress-bar{position:fixed;bottom:0;left:0;width:100%;height:4px;background:var(--bg-tertiary);z-index:9998}.progress-fill{height:100%;background:linear-gradient(90deg,var(--color-primary),#a855f7);transition:width .3s ease}.progress-message{position:fixed;bottom:12px;left:50%;transform:translate(-50%);background:var(--text-primary);color:#fff;padding:.5rem 1rem;border-radius:var(--radius-full);font-size:.8rem;font-weight:600;box-shadow:var(--shadow-lg);z-index:9998;white-space:nowrap}.status-complete{color:var(--color-success)}.status-pending{color:var(--color-warning)}.error-boundary{display:flex;align-items:center;justify-content:center;min-height:60vh;padding:2rem}.error-boundary-content{text-align:center;max-width:440px;padding:2.5rem 2rem;background:var(--bg-primary);border-radius:var(--radius-lg);border:1px solid var(--border-color);box-shadow:var(--shadow-lg)}.error-boundary-icon{font-size:3rem;margin-bottom:1rem}.error-boundary-content h2{font-size:1.25rem;font-weight:700;color:var(--text-primary);margin-bottom:.5rem}.error-boundary-content p{font-size:.875rem;color:var(--text-secondary);line-height:1.5}.error-boundary-detail{margin-top:.75rem;padding:.625rem 1rem;background:var(--color-error-light);color:var(--color-error);border-radius:var(--radius-sm);font-size:.8rem!important;font-weight:500;word-break:break-word}.error-boundary-actions{display:flex;gap:.75rem;margin-top:1.5rem;justify-content:center}.error-boundary-btn{padding:.625rem 1.25rem;border-radius:var(--radius-sm);font-weight:600;font-size:.85rem;transition:all var(--transition)}.error-boundary-btn.primary{background:var(--color-primary);color:#fff}.error-boundary-btn.primary:hover{background:var(--color-primary-hover);transform:translateY(-1px)}.error-boundary-btn.secondary{background:var(--bg-secondary);color:var(--text-secondary);border:1px solid var(--border-color)}.error-boundary-btn.secondary:hover{background:var(--bg-tertiary);border-color:var(--border-hover)}@keyframes shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}.skeleton-block{background:linear-gradient(90deg,var(--bg-tertiary) 25%,var(--bg-secondary) 37%,var(--bg-tertiary) 63%);background-size:200% 100%;animation:shimmer 1.5s ease-in-out infinite}.skeleton-upload{padding:1.5rem;border:1px solid var(--border-color);border-radius:var(--radius-lg);background:var(--bg-primary)}.skeleton-product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:.75rem;padding:1.5rem;border:1px solid var(--border-color);border-radius:var(--radius-lg);background:var(--bg-primary)}.skeleton-result{display:flex;flex-direction:column;gap:1rem;padding:1.5rem;border:1px solid var(--border-color);border-radius:var(--radius-lg);background:var(--bg-primary)}.skeleton-result-controls{display:flex;gap:.5rem}.skeleton-history{padding:1.5rem;background:var(--bg-primary);border-radius:var(--radius-lg);border:1px solid var(--border-color)}.skeleton-history-item{display:flex;align-items:center;gap:.75rem;padding:.75rem;background:var(--bg-secondary);border-radius:var(--radius-sm);margin-bottom:.5rem}.skeleton-history-info{flex:1;display:flex;flex-direction:column;gap:.375rem}@media (max-width: 768px){.app{padding:1rem;gap:1rem}.app-header{flex-wrap:wrap;gap:.5rem;padding:1rem}.app-header h1{font-size:1.5rem}.app-main{grid-template-columns:1fr}.upload-section{grid-column:span 1}.ratio-options{grid-template-columns:repeat(4,1fr)}.product-grid{grid-template-columns:repeat(auto-fill,minmax(80px,1fr))}.result-controls{flex-wrap:wrap}.control-button{flex:1 1 calc(50% - .25rem)}.toast-container{left:1rem;right:1rem;max-width:none}.auth-modal{width:95%;padding:1.5rem}}@media (max-width: 480px){.app-header{flex-direction:column;text-align:center}.ratio-options{grid-template-columns:repeat(2,1fr)}.upload-dropzone{padding:1.5rem 1rem;min-height:160px}.upload-icon{font-size:2rem}}.auth-page{min-height:100vh;display:flex;align-items:center;justify-content:center;background:var(--bg-secondary);padding:1rem}.auth-page-card{background:var(--bg-primary);border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);padding:2.5rem;width:100%;max-width:420px;text-align:center}.auth-page-header{margin-bottom:2rem}.auth-page-header h1{font-size:2rem;font-weight:800;color:var(--color-primary);margin-bottom:.25rem}.auth-page-header p{color:var(--text-secondary);font-size:.9rem}.auth-page-card h2{font-size:1.25rem;font-weight:600;color:var(--text-primary);margin-bottom:1.5rem}.auth-page-button{width:100%;padding:.875rem 1.5rem;border-radius:var(--radius-md);font-size:1rem;font-weight:500;cursor:pointer;transition:all var(--transition);display:flex;align-items:center;justify-content:center;gap:.75rem;border:none;text-decoration:none}.auth-page-button.google{background:var(--bg-primary);color:var(--text-primary);border:2px solid var(--border-color)}.auth-page-button.google:hover{border-color:var(--border-hover);background:var(--bg-secondary)}.auth-page-button.primary{background:var(--color-primary);color:#fff}.auth-page-button.primary:hover{background:var(--color-primary-hover)}.auth-page-button.secondary{background:var(--bg-secondary);color:var(--text-secondary);border:2px solid var(--border-color)}.auth-page-button.secondary:hover{border-color:var(--border-hover);background:var(--bg-tertiary)}.auth-page-icon{font-size:1.25rem;font-weight:700}.auth-page-divider{display:flex;align-items:center;gap:1rem;margin:1.5rem 0;color:var(--text-muted);font-size:.85rem}.auth-page-divider:before,.auth-page-divider:after{content:"";flex:1;height:1px;background:var(--border-color)}.auth-page-form{display:flex;flex-direction:column;gap:.75rem}.auth-page-form input{padding:.875rem 1rem;border:2px solid var(--border-color);border-radius:var(--radius-md);font-size:1rem;transition:all var(--transition);background:var(--bg-primary)}.auth-page-form input:focus{outline:none;border-color:var(--color-primary);box-shadow:0 0 0 3px var(--color-primary-light)}.auth-page-form button{padding:.875rem 1.5rem;background:var(--color-primary);color:#fff;border:none;border-radius:var(--radius-md);font-size:1rem;font-weight:500;cursor:pointer;transition:all var(--transition)}.auth-page-form button:hover:not(:disabled){background:var(--color-primary-hover)}.auth-page-form button:disabled{opacity:.6;cursor:not-allowed}.auth-page-error{background:var(--color-error-light);color:var(--color-error);padding:.875rem 1rem;border-radius:var(--radius-md);margin-bottom:1rem;display:flex;align-items:center;gap:.5rem;font-size:.9rem}.auth-page-error-icon{font-size:3rem;margin-bottom:1rem}.auth-page-error-message{background:var(--color-error-light);color:var(--color-error);padding:1rem;border-radius:var(--radius-md);margin-bottom:1.5rem}.auth-page-error-message p{margin:0}.auth-page-error-code{font-size:.8rem;color:var(--text-muted);margin-top:.5rem!important}.auth-page-success{background:#f0fdf4;color:#166534;padding:1.5rem;border-radius:var(--radius-md);margin-bottom:1rem}.auth-page-success span{font-size:2rem;display:block;margin-bottom:.75rem}.auth-page-success p{margin:.25rem 0}.auth-page-hint{font-size:.85rem;color:var(--text-muted)}.auth-page-actions{display:flex;flex-direction:column;gap:.75rem;margin-top:1.5rem}.auth-page-footer{margin-top:2rem;padding-top:1.5rem;border-top:1px solid var(--border-color)}.auth-page-footer a{color:var(--text-secondary);text-decoration:none;font-size:.9rem;transition:color var(--transition)}.auth-page-footer a:hover{color:var(--color-primary)}@media (max-width: 480px){.auth-page-card{padding:1.5rem}.auth-page-header h1{font-size:1.5rem}}
