/* ============================================ Site Creator Page Страница создания нового сайта ============================================ */ /* Form Section */ .form-section { padding: var(--space-xl); background: rgba(139, 92, 246, 0.02); border-radius: var(--radius-xl); border: 1px solid var(--glass-border); transition: all var(--transition-base); } .form-section:hover { background: rgba(139, 92, 246, 0.04); border-color: rgba(139, 92, 246, 0.2); } /* Subsection Title (внутри формы) */ .form-subsection-title { font-size: var(--text-lg); font-weight: var(--font-semibold); color: var(--text-primary); margin: 0 0 var(--space-lg) 0; display: flex; align-items: center; gap: var(--space-md); padding-bottom: var(--space-sm); border-bottom: 1px solid rgba(139, 92, 246, 0.1); i { color: var(--accent-purple-light); font-size: 16px; } } /* Второй и последующие подзаголовки - добавляем отступ сверху */ .form-subsection-title:not(:first-of-type) { margin-top: var(--space-xl); } /* Custom Select Styling */ .form-input[type="text"], .form-input[type="number"] { appearance: none; -webkit-appearance: none; -moz-appearance: none; background-image: none; } /* Кастомный Select */ .custom-select { position: relative; width: 100%; } .custom-select-trigger { padding: 10px 40px 10px 14px; background: var(--glass-bg-dark); border: 1px solid var(--glass-border); border-radius: var(--radius-md); color: var(--text-primary); font-size: var(--text-base); cursor: pointer; transition: all var(--transition-base); display: flex; align-items: center; justify-content: space-between; user-select: none; } .custom-select-trigger:hover { border-color: rgba(139, 92, 246, 0.4); background-color: rgba(139, 92, 246, 0.05); } .custom-select.open .custom-select-trigger { border-color: rgba(139, 92, 246, 0.6); box-shadow: 0 0 16px rgba(139, 92, 246, 0.2); background-color: rgba(139, 92, 246, 0.03); } .custom-select-value { flex: 1; } .custom-select-arrow { color: var(--accent-purple-light); font-size: 12px; transition: transform var(--transition-base); } .custom-select.open .custom-select-arrow { transform: rotate(180deg); } /* Dropdown */ .custom-select-dropdown { position: absolute; top: calc(100% + 4px); left: 0; right: 0; background: #1a1d2e; border: 1px solid rgba(139, 92, 246, 0.3); border-radius: var(--radius-md); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4); max-height: 0; overflow: hidden; opacity: 0; transform: translateY(-10px); transition: all var(--transition-base); z-index: 1000; } .custom-select.open .custom-select-dropdown { max-height: 300px; overflow-y: auto; opacity: 1; transform: translateY(0); } /* Scrollbar для dropdown */ .custom-select-dropdown::-webkit-scrollbar { width: 6px; } .custom-select-dropdown::-webkit-scrollbar-track { background: transparent; } .custom-select-dropdown::-webkit-scrollbar-thumb { background: rgba(139, 92, 246, 0.3); border-radius: 3px; } .custom-select-dropdown::-webkit-scrollbar-thumb:hover { background: rgba(139, 92, 246, 0.5); } /* Option */ .custom-select-option { padding: 10px 14px; color: var(--text-secondary); cursor: pointer; transition: all var(--transition-base); font-size: var(--text-base); } .custom-select-option:hover { background: rgba(139, 92, 246, 0.1); color: var(--text-primary); } .custom-select-option.selected { background: rgba(139, 92, 246, 0.2); color: var(--accent-purple-light); font-weight: var(--font-semibold); } .custom-select-option.selected::before { content: '✓ '; margin-right: 8px; } /* File Upload Styling */ .file-upload-wrapper { position: relative; display: inline-block; width: 100%; } .file-input { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; } .file-upload-btn { display: flex; align-items: center; justify-content: center; gap: var(--space-md); padding: 12px 20px; background: var(--glass-bg-dark); border: 2px dashed var(--glass-border); border-radius: var(--radius-md); color: var(--text-secondary); font-size: var(--text-base); font-weight: var(--font-medium); cursor: pointer; transition: all var(--transition-base); text-align: center; i { color: var(--accent-purple-light); font-size: 18px; } &:hover { background: rgba(139, 92, 246, 0.05); border-color: rgba(139, 92, 246, 0.4); color: var(--text-primary); transform: translateY(-1px); } &:active { transform: translateY(0); } } .file-input:focus + .file-upload-btn { border-color: rgba(139, 92, 246, 0.6); box-shadow: 0 0 16px rgba(139, 92, 246, 0.2); } /* Drag over state */ .file-upload-wrapper.drag-over .file-upload-btn { background: rgba(139, 92, 246, 0.15); border-color: rgba(139, 92, 246, 0.7); border-style: solid; color: var(--text-primary); transform: scale(1.02); box-shadow: 0 0 20px rgba(139, 92, 246, 0.3); } .file-upload-wrapper.drag-over .file-upload-btn i { animation: bounce 0.6s ease infinite; } @keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } } /* File uploaded state */ .file-uploaded { border-style: solid; border-color: rgba(16, 185, 129, 0.5); background: rgba(16, 185, 129, 0.05); &:hover { border-color: rgba(16, 185, 129, 0.6); background: rgba(16, 185, 129, 0.1); } i { color: var(--accent-green); } } /* File status */ #certFileStatus, #keyFileStatus, #caFileStatus { font-size: var(--text-sm); font-weight: var(--font-medium); display: flex; align-items: center; gap: var(--space-sm); i { font-size: 14px; } }