.music-form{width:100%;max-width:700px;padding:3.5rem 2rem 2rem;background:rgba(10,15,20,.95);border:1px solid rgba(0,255,200,.2);border-radius:16px;backdrop-filter:blur(10px);box-shadow:0 0 40px rgba(0,255,200,.1)}.music-form .form-section{margin-bottom:1.5rem}.music-form .form-label{display:block;font-size:.9rem;font-weight:500;color:rgba(255,255,255,.9);margin-bottom:.75rem}.music-form .form-label-row{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:.75rem;gap:1rem}.music-form .form-label-row .form-label{margin-bottom:0;padding-top:.3rem}.music-form .model-selector-compact{display:flex;align-items:center;gap:.5rem;flex-shrink:0}.music-form .model-label-compact{font-size:.85rem;color:rgba(255,255,255,.7);white-space:nowrap}.music-form .custom-select-wrapper{position:relative;min-width:90px}.music-form .custom-select-trigger{padding:.4rem .75rem;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.15);border-radius:6px;color:rgba(255,255,255,.9);font-size:.85rem;cursor:pointer;transition:all .2s;outline:none;display:flex;align-items:center;justify-content:space-between;gap:.5rem;width:100%}.music-form .custom-select-trigger:hover{background:rgba(255,255,255,.08);border-color:rgba(0,255,200,.3)}.music-form .custom-select-trigger .selected-value{flex:1;text-align:left}.music-form .dropdown-arrow{transition:transform .2s;flex-shrink:0}.music-form .dropdown-arrow.open{transform:rotate(180deg)}.music-form .custom-select-dropdown{position:absolute;top:calc(100% + 4px);left:0;right:0;background:rgba(15,20,30,.98);border:1px solid rgba(0,255,200,.3);border-radius:8px;overflow:hidden;z-index:1000;box-shadow:0 4px 20px rgba(0,255,200,.15);animation:dropdownSlideIn .2s ease-out}@keyframes dropdownSlideIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.music-form .dropdown-option{padding:.6rem .75rem;color:rgba(255,255,255,.8);cursor:pointer;transition:all .15s;display:flex;align-items:center;justify-content:space-between;font-size:.85rem}.music-form .dropdown-option:hover{background:rgba(0,255,200,.1);color:rgba(255,255,255,.95)}.music-form .dropdown-option.selected{background:rgba(0,255,200,.15);color:#00ffc8}.music-form .dropdown-option svg{color:#00ffc8}.music-form .required{color:#00ffc8;margin-left:.25rem}.music-form .field-hint{font-size:.75rem;color:rgba(255,255,255,.5);margin-top:.5rem}.music-form .mode-toggle{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}.music-form .mode-btn{padding:.7rem 1rem;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);border-radius:8px;color:rgba(255,255,255,.7);cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center;font-size:.9rem}.music-form .mode-btn:hover{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.2)}.music-form .mode-btn.active{background:rgba(0,255,157,.15);border-color:rgba(0,255,200,.6);color:#00ffc8;box-shadow:0 0 20px rgba(0,255,200,.3)}.music-form .upload-audio-btn-compact{display:inline-flex;align-items:center;gap:.4rem;padding:.5rem .8rem;background:rgba(236,72,153,.08);border:1px solid rgba(236,72,153,.25);border-radius:6px;color:rgba(255,255,255,.75);cursor:pointer;font-size:.8rem;transition:all .2s;white-space:nowrap}.music-form .upload-audio-btn-compact:hover:not(:disabled){background:rgba(236,72,153,.15);border-color:rgba(236,72,153,.4);color:rgba(255,255,255,.9);box-shadow:0 0 12px rgba(236,72,153,.25)}.music-form .upload-audio-btn-compact:disabled{opacity:.6;cursor:not-allowed}.music-form .upload-audio-btn-compact.uploading{background:rgba(236,72,153,.06)}.music-form .upload-audio-btn-compact .btn-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0}.music-form .upload-audio-btn-compact .btn-icon.spinning{animation:spin 1s linear infinite}.music-form .upload-audio-btn-compact .btn-text{white-space:nowrap}.music-form .textarea-wrapper{position:relative;user-select:none}.music-form .resize-handle{position:absolute;bottom:0;left:0;right:0;height:20px;display:flex;align-items:center;justify-content:center;cursor:ns-resize;opacity:0;animation:fadeIn .2s ease forwards;z-index:10}.music-form .resize-handle.dragging .resize-handle-bar,.resize-handle:hover .resize-handle-bar{background:rgba(0,255,200,.8);box-shadow:0 0 10px rgba(0,255,200,.5)}.music-form .resize-handle-bar{width:60px;height:4px;background:rgba(255,255,255,.4);border-radius:2px;transition:all .2s;pointer-events:none}.music-form .resize-handle.dragging{cursor:ns-resize}.music-form .resize-handle.dragging .resize-handle-bar{width:80px}.form-input,.music-form .form-textarea{width:100%;padding:.9rem 5rem .9rem .9rem;background:rgba(0,0,0,.3);border:1px solid rgba(255,255,255,.2);border-radius:10px;color:white;font-size:.9rem;font-family:inherit;line-height:1.6;transition:all .2s}.music-form .form-textarea{resize:none;padding-bottom:2rem;transition:height .05s ease-out}.music-form .form-textarea::-webkit-scrollbar{width:6px}.music-form .form-textarea::-webkit-scrollbar-track{background:transparent;border-radius:3px}.music-form .form-textarea::-webkit-scrollbar-thumb{background:transparent;border-radius:3px;transition:background .2s ease}.music-form .textarea-wrapper:hover .form-textarea::-webkit-scrollbar-track{background:rgba(255,255,255,.05)}.music-form .textarea-wrapper:hover .form-textarea::-webkit-scrollbar-thumb{background:rgba(0,255,200,.3)}.music-form .textarea-wrapper:hover .form-textarea::-webkit-scrollbar-thumb:hover{background:rgba(0,255,200,.5)}.music-form .form-textarea:disabled{background:rgba(0,0,0,.5);border-color:rgba(255,255,255,.1);color:rgba(255,255,255,.4);cursor:not-allowed}.music-form .char-count-inner{position:absolute;bottom:.5rem;right:.9rem;font-size:.7rem;color:rgba(255,255,255,.5);pointer-events:none}.music-form .lyrics-generator-btn{position:absolute;bottom:.5rem;left:.5rem;padding:.4rem .8rem;background:linear-gradient(135deg,#00ff9d,#00ffc8);border:none;border-radius:6px;color:#000;font-size:.75rem;font-weight:600;cursor:pointer;transition:all .2s;z-index:10;box-shadow:0 2px 8px rgba(0,255,200,.3)}.music-form .lyrics-generator-btn:hover{background:linear-gradient(135deg,#00ffb3,#00ffe0);transform:translateY(-1px);box-shadow:0 4px 12px rgba(0,255,200,.5)}.music-form .instrumental-hint{position:absolute;bottom:.5rem;left:.5rem;display:flex;align-items:center;gap:.4rem;padding:.4rem .8rem;background:rgba(255,152,0,.15);border:1px solid rgba(255,152,0,.3);border-radius:6px;color:rgba(255,152,0,.9);font-size:.75rem;font-weight:500;z-index:10}.music-form .instrumental-hint svg{flex-shrink:0}.music-form .instrumental-toggle-wrapper{display:flex;justify-content:flex-end;align-items:center;gap:.75rem;margin-top:.5rem}.music-form .toggle-label{color:rgba(255,255,255,.7);font-size:.875rem;font-weight:500}.music-form .toggle-hint-container{position:relative;display:inline-flex;align-items:center;justify-content:center;color:rgba(255,255,255,.5);cursor:help;transition:color .2s}.music-form .toggle-hint-container:hover{color:rgba(255,255,255,.8)}.music-form .toggle-hint-container svg{display:block}.music-form .toggle-tooltip{position:absolute;bottom:calc(100% + 8px);right:50%;transform:translateX(50%);background:rgba(0,0,0,.9);color:#00ffc8;padding:.5rem .75rem;border-radius:6px;font-size:.75rem;white-space:nowrap;opacity:0;visibility:hidden;transition:opacity .2s,visibility .2s;pointer-events:none;z-index:10001}.music-form .toggle-tooltip:after{content:"";position:absolute;top:100%;right:50%;transform:translateX(50%);border:4px solid transparent;border-top-color:rgba(0,0,0,.9)}.music-form .toggle-hint-container:hover .toggle-tooltip{opacity:1;visibility:visible}.music-form .instrumental-toggle-wrapper input[type=checkbox]{height:0;width:0;opacity:0;position:absolute;pointer-events:none}.music-form .toggle-switch{cursor:pointer;width:44px;height:24px;background:rgba(255,255,255,.2);display:block;border-radius:24px;position:relative;border:1px solid rgba(255,255,255,.3);transition:background .3s,border-color .3s;flex-shrink:0}.music-form .toggle-switch:after{content:"";position:absolute;top:50%;left:2px;width:18px;height:18px;background:#fff;border-radius:18px;transition:.3s;transform:translateY(-50%)}.music-form .instrumental-toggle-wrapper input[type=checkbox]:checked+.toggle-switch{background:#00ffc8;border-color:#00ffc8}.music-form .instrumental-toggle-wrapper input[type=checkbox]:checked+.toggle-switch:after{left:calc(100% - 2px);transform:translate(-100%,-50%)}.music-form .toggle-switch:active:after{width:24px}.music-form .lyrics-generator-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.6);backdrop-filter:blur(4px);border-radius:10px;z-index:20;display:flex;align-items:center;justify-content:center;animation:fadeIn .2s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.music-form .lyrics-generator-popup{width:90%;max-width:500px;background:rgba(20,25,30,.98);border:1px solid rgba(0,255,200,.3);border-radius:12px;box-shadow:0 8px 32px rgba(0,255,200,.2);animation:slideUp .2s ease}.music-form .popup-header{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.25rem;border-bottom:1px solid rgba(255,255,255,.1)}.music-form .popup-title{font-size:1rem;font-weight:600;color:rgba(255,255,255,.9);margin:0}.music-form .popup-close{background:none;border:none;color:rgba(255,255,255,.6);font-size:1.5rem;cursor:pointer;padding:0;width:24px;height:24px;display:flex;align-items:center;justify-content:center;transition:color .2s}.music-form .popup-close:hover{color:rgba(255,255,255,1)}.music-form .popup-body{padding:1.25rem}.music-form .popup-textarea{width:100%;padding:.8rem .8rem 2rem;background:rgba(0,0,0,.4);border:1px solid rgba(255,255,255,.2);border-radius:8px;color:white;font-size:.9rem;font-family:inherit;line-height:1.5;resize:vertical;transition:all .2s}.music-form .popup-textarea:focus{outline:none;border-color:#00ffc8;background:rgba(0,0,0,.5);box-shadow:0 0 15px rgba(0,255,200,.2)}.music-form .popup-textarea::placeholder{color:rgba(255,255,255,.4)}.music-form .popup-char-count{position:absolute;bottom:.5rem;right:.8rem;font-size:.7rem;color:rgba(255,255,255,.5);pointer-events:none}.music-form .popup-actions{display:flex;gap:.75rem;justify-content:flex-end}.music-form .popup-btn{padding:.6rem 1.2rem;border:none;border-radius:8px;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .2s}.music-form .popup-btn-cancel{background:rgba(255,255,255,.1);color:rgba(255,255,255,.8)}.music-form .popup-btn-cancel:hover{background:rgba(255,255,255,.15);color:rgba(255,255,255,1)}.music-form .popup-btn-generate{background:linear-gradient(135deg,#00ff9d,#00ffc8);color:#000;box-shadow:0 2px 8px rgba(0,255,200,.3)}.music-form .popup-btn-generate:hover:not(:disabled){background:linear-gradient(135deg,#00ffb3,#00ffe0);transform:translateY(-1px);box-shadow:0 4px 12px rgba(0,255,200,.5)}.music-form .popup-btn:disabled{opacity:.5;cursor:not-allowed}.music-form .spinner-small{width:14px;height:14px;border:2px solid rgba(0,0,0,.2);border-top-color:#000;border-radius:50%;animation:spin .6s linear infinite;display:inline-block;margin-right:.5rem}.form-input:focus,.music-form .form-textarea:focus{outline:none;border-color:#00ffc8;background:rgba(0,0,0,.4);box-shadow:0 0 20px rgba(0,255,200,.2)}.form-input::placeholder,.music-form .form-textarea::placeholder{color:rgba(255,255,255,.4)}.music-form .toggle-row{gap:1rem}.music-form .advanced-toggle,.music-form .toggle-row{display:flex;justify-content:space-between;align-items:center}.music-form .advanced-toggle{width:100%;padding:.8rem 1rem;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);border-radius:10px;color:rgba(255,255,255,.8);cursor:pointer;transition:all .2s;font-size:.9rem}.music-form .advanced-toggle:hover{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.2)}.music-form .chevron{transition:transform .3s;color:rgba(255,255,255,.6)}.music-form .chevron.rotated{transform:rotate(180deg)}.music-form .advanced-content{margin-top:1rem;padding:1.25rem;background:rgba(0,0,0,.2);border-radius:10px;border:1px solid rgba(255,255,255,.05)}.music-form .submit-btn{width:100%;padding:.9rem;background:linear-gradient(135deg,#00ff9d,#00ffc8);border:none;border-radius:24px;color:#000;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .3s;display:flex;align-items:center;justify-content:center;gap:.5rem;box-shadow:0 0 30px rgba(0,255,200,.4);margin-top:1.5rem}.music-form .submit-btn:hover:not(:disabled){background:linear-gradient(135deg,#00ffb3,#00ffe0);transform:translateY(-2px);box-shadow:0 8px 40px rgba(0,255,200,.6)}.music-form .submit-btn:disabled{opacity:.5;cursor:not-allowed;transform:none}.music-form .spinner{width:18px;height:18px;border:2px solid rgba(0,0,0,.2);border-top-color:#000;border-radius:50%;animation:spin .6s linear infinite}@media (max-width:1024px){.music-form{max-width:none;padding:1rem;background:transparent;border:none;border-radius:0;box-shadow:none}.music-form .submit-btn{padding:1rem;font-size:1rem}}.music-form .tag-selector-wrapper{margin-top:1rem}.music-form .tag-category-buttons{display:flex;gap:.5rem;flex-wrap:wrap;margin-bottom:.75rem}.music-form .tag-category-btn{padding:.4rem .9rem;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.15);border-radius:20px;color:rgba(255,255,255,.7);font-size:.8rem;font-weight:500;cursor:pointer;transition:all .2s}.music-form .tag-category-btn:hover{background:rgba(0,255,200,.1);border-color:rgba(0,255,200,.3);color:rgba(0,255,200,.9)}.music-form .tag-category-btn.active{background:rgba(0,255,200,.15);border-color:rgba(0,255,200,.5);color:#00ffc8;box-shadow:0 0 10px rgba(0,255,200,.2)}.music-form .tag-grid{display:flex;flex-wrap:wrap;gap:.5rem;padding:.75rem;background:rgba(0,0,0,.2);border-radius:8px;border:1px solid rgba(255,255,255,.05);max-height:300px;overflow-y:auto;animation:fadeIn .2s ease}.music-form .tag-item{padding:.5rem .9rem;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);border-radius:20px;color:rgba(255,255,255,.8);font-size:.8rem;cursor:pointer;transition:all .15s;white-space:nowrap;flex-shrink:0}.music-form .tag-item:hover{background:rgba(0,255,200,.1);border-color:rgba(0,255,200,.3);color:#00ffc8;transform:translateY(-1px)}.music-form .tag-item.selected{background:rgba(0,255,200,.2);border-color:rgba(0,255,200,.6);color:#00ffc8;font-weight:600;box-shadow:0 0 8px rgba(0,255,200,.3)}.music-form .tag-item.selected:hover{background:rgba(0,255,200,.25);border-color:rgba(0,255,200,.8)}.music-form .tag-grid::-webkit-scrollbar{width:6px}.music-form .tag-grid::-webkit-scrollbar-track{background:rgba(255,255,255,.05);border-radius:3px}.music-form .tag-grid::-webkit-scrollbar-thumb{background:rgba(0,255,200,.3);border-radius:3px}.music-form .tag-grid::-webkit-scrollbar-thumb:hover{background:rgba(0,255,200,.5)}@media (max-width:640px){.music-form .form-label-row{flex-direction:column;align-items:flex-start;gap:.5rem}.music-form .model-selector-compact{width:100%;justify-content:space-between}.music-form .custom-select-wrapper{flex:1;min-width:0}}.music-form .right-controls{display:flex;flex-direction:column;align-items:flex-end;gap:.5rem}.music-form .upload-audio-inline{display:flex}.music-form .upload-audio-btn{width:36px;height:36px;border-radius:8px;background:rgba(0,255,200,.1);border:1px solid rgba(0,255,200,.3);color:rgba(0,255,200,.9);font-size:1.2rem;cursor:pointer;transition:all .2s;flex-shrink:0;display:flex;align-items:center;justify-content:center}.music-form .upload-audio-btn:hover{background:rgba(0,255,200,.2);border-color:rgba(0,255,200,.5);transform:scale(1.05)}.music-form .uploaded-audio-display{margin-top:.75rem;padding:.75rem 1rem;background:rgba(0,255,200,.05);border:1px solid rgba(0,255,200,.2);border-radius:12px;display:flex;flex-direction:column;gap:.75rem}.music-form .audio-info-row{display:flex;align-items:center;justify-content:space-between;gap:1rem}.music-form .audio-info{display:flex;align-items:center;gap:.5rem;flex:1;min-width:0}.music-form .audio-icon{font-size:1.25rem;flex-shrink:0}.music-form .audio-name{color:white;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0}.music-form .audio-duration{color:rgba(255,255,255,.6);font-size:.875rem;flex-shrink:0}.music-form .duration-warning{color:#ff6b6b;font-size:1.2rem;flex-shrink:0;cursor:help}.music-form .audio-actions{display:flex;gap:.5rem;flex-shrink:0}.music-form .remove-audio-btn{width:32px;height:32px;border-radius:8px;border:none;background:rgba(255,255,255,.1);color:white;font-size:1rem;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center}.music-form .remove-audio-btn:hover{background:rgba(255,100,100,.2);color:#ff6b6b}.music-form .audio-feature-selection{display:flex;gap:.5rem}.music-form .feature-btn{flex:1;padding:.5rem 1rem;border-radius:8px;border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.05);color:rgba(255,255,255,.7);font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s}.music-form .feature-btn:hover{background:rgba(255,255,255,.1);color:white;border-color:rgba(255,255,255,.3)}.music-form .feature-btn.active{background:linear-gradient(135deg,rgb(192,132,252),rgb(251,182,206));border-color:transparent;color:white}.music-form .upload-error-toast{position:fixed;bottom:2rem;left:50%;transform:translateX(-50%);background:rgba(220,38,38,.95);color:white;padding:.75rem 1.5rem;border-radius:8px;box-shadow:0 4px 12px rgba(0,0,0,.3);z-index:1000;animation:slideUp .3s ease}@keyframes slideUp{0%{opacity:0;transform:translateX(-50%) translateY(20px)}to{opacity:1;transform:translateX(-50%) translateY(0)}}.music-form .upload-audio-btn.uploading{opacity:.6;cursor:not-allowed}.music-form .upload-audio-btn-with-text{display:flex;align-items:center;gap:.5rem;padding:.625rem 1rem;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.2);border-radius:8px;color:rgba(255,255,255,.8);font-size:.875rem;font-weight:400;cursor:pointer;transition:all .2s}.music-form .upload-audio-btn-with-text:hover:not(:disabled){background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.3);color:rgba(255,255,255,.95)}.music-form .upload-audio-btn-with-text:disabled{opacity:.6;cursor:not-allowed}.music-form .upload-audio-btn-with-text .btn-icon{display:flex;align-items:center;justify-content:center}.music-form .upload-audio-btn-with-text .btn-icon.spinning{animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.music-form .upload-audio-btn-with-text .btn-text{white-space:nowrap}@media (max-width:768px){.music-form .right-controls{gap:.4rem}.music-form .upload-audio-btn{width:32px;height:32px;font-size:1rem}.music-form .uploaded-audio-display{flex-direction:column;align-items:stretch;gap:.75rem}.music-form .audio-info{flex-wrap:wrap}.music-form .audio-name{flex-basis:100%}.music-form .audio-actions{justify-content:flex-end}}