.model-grid{display:grid;grid-template-columns:1fr;gap:1rem}.model-option{padding:1rem;border:2px solid rgba(255,255,255,.1);border-radius:8px;background:rgba(255,255,255,.02);cursor:pointer;transition:all .3s ease}.model-option:hover{border-color:rgba(255,255,255,.3);background:rgba(255,255,255,.05);transform:translateY(-2px)}.model-option.active{border-color:#dc6f00;background:rgba(220,111,0,.1);box-shadow:0 4px 20px rgba(220,111,0,.2)}.model-info{text-align:center}.model-name{font-size:1.1rem;font-weight:600;color:#fff;margin-bottom:.5rem}.model-description{font-size:.9rem;color:#ccc;margin-bottom:.5rem}.model-cost{font-size:.8rem;color:#dc6f00;font-weight:600;padding:.2rem .5rem;background:rgba(220,111,0,.2);border-radius:12px;display:inline-block}@media (max-width:768px){.model-grid{gap:.8rem}.model-option{padding:.8rem}.model-name{font-size:1rem}.model-description{font-size:.8rem}}@media (max-width:576px){.model-option{padding:.6rem}.model-name{font-size:.9rem}.model-description{font-size:.75rem}.model-cost{font-size:.7rem}}@media (max-width:480px){.model-option{padding:.5rem}.model-name{font-size:.85rem}.model-description{font-size:.7rem}.model-cost{font-size:.65rem;padding:.15rem .4rem}}.model-option .model-info{width:100%}.model-option .model-name{line-height:1.3}.model-option .model-description{line-height:1.4}.model-option .model-cost{margin-top:.3rem}#veoModelModal .modal-body{padding:1.5rem}#veoModelModal .model-grid{margin:0}.uploaded-images{display:flex;gap:12px;flex-wrap:wrap;margin-top:12px}.uploaded-image-item{position:relative;width:120px;height:120px;border-radius:8px;overflow:hidden;border:2px solid #e9ecef;background:#f8f9fa}.uploaded-image-item img{width:100%;height:100%;object-fit:cover;display:block}.uploaded-image-remove{position:absolute;top:4px;right:4px;width:24px;height:24px;background:rgba(0,0,0,.7);color:#fff;border:none;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:12px;transition:background .2s ease}.uploaded-image-remove:hover{background:rgba(220,53,69,.9)}.uploaded-image-index{position:absolute;bottom:4px;left:4px;background:rgba(0,0,0,.7);color:#fff;border-radius:4px;padding:2px 6px;font-size:12px;font-weight:500}.upload-progress{position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.8);color:#fff;border-radius:8px;font-size:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;z-index:10}.upload-progress .spinner-border-sm{width:20px;height:20px;border-width:2px;border-color:#fff;border-right-color:transparent;animation:spinner-border .75s linear infinite}.upload-progress .custom-spinner{width:20px;height:20px;border:2px solid #fff;border-top:2px solid transparent;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes spinner-border{to{transform:rotate(360deg)}}.upload-progress-text{font-size:11px;font-weight:500;text-align:center;line-height:1.2}.upload-area[style*="opacity: 0.6"]{filter:grayscale(.5)}.upload-area.dragover{border-color:#ff6b35;background-color:rgba(255,107,53,.1)}.veo-error-state{text-align:center;padding:60px 30px}.veo-error-icon{font-size:56px;color:#dc3545;margin-bottom:24px;opacity:.8}.veo-error-title{font-size:20px;font-weight:600;color:#dc3545;margin-bottom:16px}.veo-error-message{font-size:16px;color:#6c757d;line-height:1.6;max-width:480px;margin:0 auto}@media (max-width:768px){.veo-error-state{padding:50px 20px}.veo-error-icon{font-size:48px}.veo-error-title{font-size:18px}.veo-error-message{font-size:15px}}@media (max-width:576px){.veo-error-state{padding:40px 16px}.veo-error-icon{font-size:40px;margin-bottom:20px}.veo-error-title{font-size:16px;margin-bottom:12px}.veo-error-message{font-size:14px}}.results-title.success{color:#28a745}.results-title.success .success-icon{color:#28a745}.results-title.error{color:#dc3545}.results-title.error .error-icon{color:#dc3545}.results-title i{margin-right:8px;font-size:1.1em}.preview-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:300px;padding:2rem;text-align:center}.loading-spinner{width:60px;height:60px;border:3px solid rgba(255,255,255,.1);border-top:3px solid #ff6b35;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:1.5rem}.loading-text{font-size:1.2rem;font-weight:600;color:#fff;margin-bottom:2rem}.loading-content{text-align:center;width:100%;max-width:400px}.progress-container{width:100%;max-width:400px;margin-bottom:1.5rem}.progress-bar{width:100%;height:8px;background:rgba(255,255,255,.1);border-radius:4px;overflow:hidden;margin-bottom:1rem}.progress-fill{height:100%;background:linear-gradient(90deg,#ff6b35,#f80);border-radius:4px;transition:width .3s ease;width:0%}.progress-text{display:flex;justify-content:space-between;align-items:center;font-size:.9rem;color:#999}.progress-info{display:flex;justify-content:space-between;align-items:center;font-size:.9rem;color:#999}.progress-percentage{font-weight:700;color:#ff6b35}.progress-stage{color:#999}.loading-subtitle{font-size:.85rem;color:#666;margin-bottom:.5rem;line-height:1.4}.results-grid{display:grid;grid-template-columns:1fr;gap:1rem}.result-item{border:1px solid rgba(255,255,255,.1);border-radius:8px;overflow:hidden;background:rgba(255,255,255,.02)}.result-video-container{position:relative;cursor:pointer}.result-video{width:100%;height:auto;display:block}.result-actions{display:flex;gap:.5rem;padding:1rem;background:rgba(0,0,0,.3)}.btn-action{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;border:1px solid rgba(255,255,255,.2);border-radius:4px;background:0 0;color:#fff;cursor:pointer;transition:all .3s ease}.btn-action:hover{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.3)}.veo3-error-state{text-align:center;padding:60px 30px}.veo3-error-icon{font-size:56px;color:#dc3545;margin-bottom:24px;opacity:.8}.veo3-error-title{font-size:20px;font-weight:600;color:#dc3545;margin-bottom:16px}.veo3-error-message{font-size:16px;color:#6c757d;line-height:1.6;max-width:480px;margin:0 auto}@media (max-width:768px){.preview-loading{padding:1.5rem}.loading-spinner{width:50px;height:50px;margin-bottom:1rem}.loading-text{font-size:1.1rem;margin-bottom:1.5rem}.loading-subtitle{font-size:.8rem}.veo3-error-state{padding:50px 20px}.veo3-error-icon{font-size:48px}.veo3-error-title{font-size:18px}.veo3-error-message{font-size:15px}}@media (max-width:576px){.veo3-error-state{padding:40px 16px}.veo3-error-icon{font-size:40px;margin-bottom:20px}.veo3-error-title{font-size:16px;margin-bottom:12px}.veo3-error-message{font-size:14px}}.translation-toggle{background:rgba(255,255,255,.03);border-radius:6px;padding:10px 12px;border:1px solid rgba(255,255,255,.08);margin-top:8px}.translation-toggle .form-check-input{background-color:#2a2a2a;border-color:#555;width:2.5em;height:1.25em}.translation-toggle .form-check-input:checked{background-color:#ff6b35;border-color:#ff6b35}.translation-toggle .form-check-label{color:#fff;font-weight:500;cursor:pointer;font-size:14px;margin-left:12px}.translation-toggle .badge{font-size:.85em;padding:.2em .4em}.translation-info{margin-top:6px;padding:6px 10px;background:rgba(255,107,53,.08);border-radius:4px;border-left:2px solid #ff6b35}.translation-info small{color:#bbb!important;line-height:1.3;font-size:.8rem}.translation-info .bi-info-circle{color:#ff6b35;font-size:.8rem}@media (max-width:480px){.translation-toggle .form-check-label{font-size:11px!important}}@media (max-width:576px){.translation-toggle .form-check-label{font-size:12px!important}}@media (max-width:768px){.translation-toggle .form-check-label{font-size:13px!important}}.template-card{background:#2a2a2a;border:1px solid rgba(255,255,255,.1);border-radius:8px;overflow:hidden;transition:all .2s;cursor:pointer;height:100%}.template-card:hover{border-color:#ff6b35;transform:translateY(-2px)}.template-image{height:120px;overflow:hidden;background:#181818}.template-image img{width:100%;height:100%;object-fit:cover}.template-content{padding:12px;display:flex;flex-direction:column;height:calc(100% - 120px)}.template-title{color:#fff;font-size:14px;font-weight:600;margin-bottom:8px;line-height:1.2}.template-description{color:#999;font-size:12px;margin-bottom:12px;flex-grow:1;line-height:1.4}.btn-use-template{width:100%;background:#ff6b35!important;border:none;font-size:12px;margin-top:auto;color:#fff}.btn-use-template:hover{background:#e55a2b;color:#fff}.btn-use-template:focus{background:#e55a2b;color:#fff;box-shadow:0 0 0 .2rem rgba(255,107,53,.25)}