/* ===== CSS VARIABLES ===== */ :root { --bg-primary: #0a0e1a; --bg-secondary: #1a1f2e; --bg-tertiary: #242b3d; --bg-card: #2a3441; --bg-input: #1e2532; --accent-primary: #3b82f6; --accent-secondary: #2563eb; --accent-hover: #1d4ed8; --success: #10b981; --success-hover: #059669; --error: #ef4444; --error-hover: #dc2626; --warning: #f59e0b; --warning-hover: #d97706; --info: #06b6d4; --info-hover: #0891b2; --text-primary: #f8fafc; --text-secondary: #cbd5e1; --text-muted: #64748b; --text-disabled: #475569; --border: rgba(148, 163, 184, 0.1); --border-hover: rgba(148, 163, 184, 0.2); --border-focus: rgba(59, 130, 246, 0.5); --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05); --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25); --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); --border-radius: 12px; --border-radius-sm: 8px; --border-radius-lg: 16px; } /* ===== RESET & BASE STYLES ===== */ * { box-sizing: border-box; margin: 0; padding: 0; } body { font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background: transparent; color: var(--text-primary); line-height: 1.6; overflow: hidden; font-size: 14px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .hidden { display: none !important; } /* ===== ANIMATIONS ===== */ @keyframes popIn { 0% { opacity: 0; transform: scale(0.95) translateY(10px); } 100% { opacity: 1; transform: scale(1) translateY(0); } } @keyframes popOut { 0% { opacity: 1; transform: scale(1) translateY(0); } 100% { opacity: 0; transform: scale(0.95) translateY(10px); } } @keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } } @keyframes slideIn { 0% { opacity: 0; transform: translateY(20px); } 100% { opacity: 1; transform: translateY(0); } } @keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } } @keyframes gradientFlow { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } } @keyframes particleFloat { 0%, 100% { transform: translateY(0px) translateX(0px); opacity: 0.2; } 50% { transform: translateY(-20px) translateX(10px); opacity: 0.4; } } @keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } /* Animation Classes */ .pop-in { animation: popIn 0.2s ease; } .pop-out { animation: popOut 0.2s ease; } .fade-in { animation: fadeIn 0.2s ease; } .slide-in { animation: slideIn 0.2s ease; } .shake { animation: shake 0.3s ease; } /* ===== MAIN UI CONTAINER ===== */ .ui-container { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; display: none; align-items: center; justify-content: center; background: transparent; z-index: 1000; padding: 20px; } .ui-container:not(.hidden) { display: flex; } /* ===== BASE PANEL STYLES ===== */ .panel { background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--border-radius-lg); overflow: hidden; transition: var(--transition); position: relative; } .panel::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.5), transparent); z-index: 1; } /* ===== APPLICATION PANEL ENHANCED BACKGROUND ===== */ .application-panel { width: 700px; max-width: 90vw; min-height: 400px; max-height: 90vh; display: flex; flex-direction: column; } .application-panel::after { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.08) 0%, transparent 50%), radial-gradient(circle at 80% 70%, rgba(16, 185, 129, 0.06) 0%, transparent 50%); animation: gradientFlow 20s ease infinite; pointer-events: none; z-index: 0; } .application-panel .panel-content::before { content: ""; position: absolute; top: 10%; right: 10%; width: 120px; height: 120px; background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%); border-radius: 50%; animation: particleFloat 25s ease-in-out infinite; pointer-events: none; z-index: 0; } /* ===== BOSS PANEL ENHANCED BACKGROUND ===== */ .boss-panel { width: 1200px; height: 800px; position: relative; overflow: hidden; } /* Primary animated background */ .boss-panel::after { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(circle at 15% 25%, rgba(59, 130, 246, 0.12) 0%, transparent 40%), radial-gradient(circle at 85% 75%, rgba(16, 185, 129, 0.1) 0%, transparent 40%); background-size: 400% 400%; animation: gradientFlow 18s ease infinite; pointer-events: none; z-index: 0; } /* Floating particles system */ .boss-panel::before { content: ""; position: absolute; top: 20%; left: 15%; width: 80px; height: 80px; background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%); border-radius: 50%; animation: particleFloat 30s ease-in-out infinite; pointer-events: none; z-index: 0; } /* Additional floating elements */ .boss-panel .panel-header::after { content: ""; position: absolute; top: 40%; right: 20%; width: 60px; height: 60px; background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 70%); border-radius: 50%; animation: particleFloat 35s ease-in-out infinite reverse; pointer-events: none; z-index: 0; } .boss-panel .panel-content::before { content: ""; position: absolute; bottom: 20%; left: 70%; width: 100px; height: 100px; background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 70%); border-radius: 50%; animation: particleFloat 40s linear infinite; pointer-events: none; z-index: 0; } .boss-panel .panel-content::after { content: ""; position: absolute; top: 60%; right: 80%; width: 40px; height: 40px; background: radial-gradient(circle, rgba(239, 68, 68, 0.08) 0%, transparent 70%); border-radius: 50%; animation: particleFloat 20s ease-in-out infinite; pointer-events: none; z-index: 0; } /* Shimmer effect overlay */ .boss-panel .tabs::before { content: ""; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent); animation: gradientFlow 8s ease-in-out infinite; pointer-events: none; z-index: 1; } /* ===== PANEL HEADER ===== */ .panel-header { padding: 24px 32px; border-bottom: 1px solid var(--border); position: relative; background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%); height: 100px; display: flex; flex-direction: column; justify-content: center; z-index: 2; } .panel-header h2, .panel-header h3 { font-size: 24px; font-weight: 700; margin-bottom: 4px; color: var(--text-primary); letter-spacing: -0.025em; position: relative; z-index: 2; } .panel-header p { color: var(--text-secondary); font-size: 14px; font-weight: 400; position: relative; z-index: 2; } .close-btn { position: absolute; top: 20px; right: 20px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border); width: 36px; height: 36px; border-radius: var(--border-radius); color: var(--text-secondary); cursor: pointer; transition: var(--transition); display: flex; align-items: center; justify-content: center; font-size: 14px; z-index: 3; } .close-btn:hover { background: var(--error); border-color: var(--error); color: white; transform: scale(1.1); } /* ===== PANEL CONTENT ===== */ .panel-content { flex: 1; display: flex; flex-direction: column; padding: 24px 32px; overflow: hidden; min-height: 0; position: relative; z-index: 2; } .boss-panel .panel-content { height: 700px; overflow-y: auto; } /* ===== FORM STYLES ===== */ #applicationForm { display: flex; flex-direction: column; height: 100%; min-height: 300px; position: relative; z-index: 2; } #questionsContainer { flex: 1; display: flex; flex-direction: column; gap: 24px; padding: 20px 0; overflow-y: auto; overflow-x: hidden; min-height: 200px; max-height: calc(90vh - 280px); } /* ===== SCROLLBAR STYLES ===== */ #questionsContainer::-webkit-scrollbar, .boss-panel .panel-content::-webkit-scrollbar, .modal-panel .panel-content::-webkit-scrollbar, #pendingApplications::-webkit-scrollbar, #applicationHistory::-webkit-scrollbar, .prompt-content::-webkit-scrollbar { width: 8px; height: 8px; } #questionsContainer::-webkit-scrollbar-track, .boss-panel .panel-content::-webkit-scrollbar-track, .modal-panel .panel-content::-webkit-scrollbar-track, #pendingApplications::-webkit-scrollbar-track, #applicationHistory::-webkit-scrollbar-track, .prompt-content::-webkit-scrollbar-track { background: var(--bg-input); border-radius: 4px; margin: 2px; } #questionsContainer::-webkit-scrollbar-thumb, .boss-panel .panel-content::-webkit-scrollbar-thumb, .modal-panel .panel-content::-webkit-scrollbar-thumb, #pendingApplications::-webkit-scrollbar-thumb, #applicationHistory::-webkit-scrollbar-thumb, .prompt-content::-webkit-scrollbar-thumb { background: var(--text-muted); border-radius: 4px; transition: var(--transition); border: 1px solid var(--bg-input); } #questionsContainer::-webkit-scrollbar-thumb:hover, .boss-panel .panel-content::-webkit-scrollbar-thumb:hover, .modal-panel .panel-content::-webkit-scrollbar-thumb:hover, #pendingApplications::-webkit-scrollbar-thumb:hover, #applicationHistory::-webkit-scrollbar-thumb:hover, .prompt-content::-webkit-scrollbar-thumb:hover { background: var(--text-secondary); border-color: var(--border-hover); } /* ===== FORM ELEMENTS ===== */ .form-group { display: flex; flex-direction: column; gap: 10px; position: relative; } .form-label { display: block; font-weight: 600; color: var(--text-primary); font-size: 15px; line-height: 1.4; } .form-label.required::after { content: "*"; color: var(--error); font-weight: 700; margin-left: 4px; } .form-control { width: 100%; padding: 16px 20px; background: var(--bg-input); border: 2px solid var(--border); border-radius: var(--border-radius); color: var(--text-primary); font-size: 15px; font-family: inherit; line-height: 1.6; transition: var(--transition); min-height: 50px; } .form-control:focus { outline: none; border-color: var(--accent-primary); background: var(--bg-secondary); box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1); } .form-control:hover:not(:focus) { border-color: var(--border-hover); } .form-control::placeholder { color: var(--text-muted); font-weight: 400; } textarea.form-control { min-height: 120px; resize: vertical; font-family: inherit; } select.form-control { cursor: pointer; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e"); background-position: right 16px center; background-repeat: no-repeat; background-size: 18px; padding-right: 50px; } /* ===== RADIO GROUPS ===== */ .radio-group { display: flex; flex-direction: column; gap: 12px; } .radio-option { display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: var(--bg-input); border: 2px solid var(--border); border-radius: var(--border-radius); cursor: pointer; transition: var(--transition); } .radio-option:hover { border-color: var(--border-hover); background: var(--bg-tertiary); } .radio-option:has(input:checked) { border-color: var(--accent-primary); background: rgba(59, 130, 246, 0.05); } .radio-option input[type="radio"] { width: 18px; height: 18px; accent-color: var(--accent-primary); cursor: pointer; } .radio-option label { cursor: pointer; color: var(--text-primary); font-weight: 500; flex: 1; font-size: 14px; line-height: 1.5; } /* ===== FORM VALIDATION ===== */ .form-group.field-valid .form-control { border-color: var(--success); background: rgba(16, 185, 129, 0.05); } .form-group.field-error .form-control { border-color: var(--error); background: rgba(239, 68, 68, 0.05); } .form-error { display: flex; align-items: center; gap: 6px; color: var(--error); font-size: 13px; font-weight: 500; padding: 8px 12px; background: rgba(239, 68, 68, 0.1); border-radius: var(--border-radius-sm); border-left: 3px solid var(--error); } .form-error::before { content: "⚠"; font-size: 14px; } .form-help { font-size: 13px; color: var(--text-muted); line-height: 1.5; padding: 10px 14px; background: rgba(148, 163, 184, 0.05); border-radius: var(--border-radius-sm); border-left: 3px solid var(--info); } .char-counter { font-size: 12px; text-align: right; margin-top: 6px; padding: 4px 8px; border-radius: var(--border-radius-sm); transition: var(--transition); } .char-counter.warning { color: var(--warning); background: rgba(245, 158, 11, 0.1); } .char-counter.normal { color: var(--text-muted); background: rgba(148, 163, 184, 0.05); } .char-counter.success { color: var(--success); background: rgba(16, 185, 129, 0.1); } /* ===== BUTTONS ===== */ .btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 24px; border: none; border-radius: var(--border-radius); font-size: 14px; font-weight: 600; cursor: pointer; transition: var(--transition); text-decoration: none; min-height: 44px; font-family: inherit; position: relative; overflow: hidden; } .btn:hover { transform: translateY(-2px); } .btn:active { transform: translateY(0); } .btn-primary { background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%); color: white; } .btn-primary:hover { background: linear-gradient(135deg, var(--accent-secondary) 0%, var(--accent-hover) 100%); } .btn-secondary { background: var(--bg-tertiary); color: var(--text-secondary); border: 2px solid var(--border); } .btn-secondary:hover { background: var(--bg-card); color: var(--text-primary); border-color: var(--border-hover); } .btn-small { padding: 8px 16px; font-size: 12px; min-height: 32px; } .btn-success { background: linear-gradient(135deg, var(--success) 0%, var(--success-hover) 100%); color: white; } .btn-success:hover { background: linear-gradient(135deg, var(--success-hover) 0%, #047857 100%); } .btn-danger { background: linear-gradient(135deg, var(--error) 0%, var(--error-hover) 100%); color: white; } .btn-danger:hover { background: linear-gradient(135deg, var(--error-hover) 0%, #b91c1c 100%); } .btn-warning { background: linear-gradient(135deg, var(--warning) 0%, var(--warning-hover) 100%); color: white; } .btn-warning:hover { background: linear-gradient(135deg, var(--warning-hover) 0%, #b45309 100%); } .btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; } /* ===== FORM ACTIONS ===== */ .form-actions { flex-shrink: 0; display: flex; gap: 12px; justify-content: flex-end; align-items: center; padding: 24px 0 8px 0; border-top: 2px solid var(--border); background: var(--bg-secondary); min-height: 80px; } /* ===== TABS ===== */ .tabs { display: flex; gap: 4px; margin-bottom: 24px; background: var(--bg-input); border-radius: var(--border-radius); padding: 4px; border: 1px solid var(--border); height: 50px; position: relative; z-index: 2; } .tab-btn { flex: 1; padding: 12px 16px; background: transparent; border: none; border-radius: var(--border-radius-sm); color: var(--text-secondary); cursor: pointer; transition: var(--transition); font-size: 13px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 6px; font-family: inherit; } .tab-btn:hover:not(.active) { background: rgba(255, 255, 255, 0.05); color: var(--text-primary); } .tab-btn.active { background: var(--accent-primary); color: white; } .tab-pane { display: none; position: relative; z-index: 2; } .tab-pane.active { display: block; } .badge { background: var(--error); color: white; font-size: 10px; font-weight: 700; padding: 3px 6px; border-radius: 10px; min-width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; } /* ===== APPLICATION CARDS ===== */ .application-card { background: var(--bg-card); border: 2px solid var(--border); border-radius: var(--border-radius); padding: 20px; margin-bottom: 16px; transition: var(--transition); cursor: pointer; position: relative; overflow: hidden; height: 140px; } .application-card:hover { background: var(--bg-tertiary); border-color: var(--accent-primary); transform: translateY(-2px); } .application-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; } .applicant-info h4 { color: var(--text-primary); font-size: 16px; font-weight: 700; margin-bottom: 4px; } .applicant-info .date { color: var(--text-muted); font-size: 12px; font-weight: 500; } .status-badge { padding: 6px 12px; border-radius: 16px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; border: 2px solid; } .status-pending { background: rgba(245, 158, 11, 0.1); color: var(--warning); border-color: var(--warning); } .status-accepted { background: rgba(16, 185, 129, 0.1); color: var(--success); border-color: var(--success); } .status-rejected { background: rgba(239, 68, 68, 0.1); color: var(--error); border-color: var(--error); } .application-card-actions { display: flex; gap: 8px; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--border); } /* ===== SETTINGS ===== */ .settings-group { display: flex; flex-direction: column; gap: 20px; position: relative; z-index: 2; } .setting-item { display: flex; align-items: center; justify-content: space-between; padding: 20px; background: var(--bg-card); border: 2px solid var(--border); border-radius: var(--border-radius); transition: var(--transition); min-height: 80px; } .setting-item:hover { border-color: var(--border-hover); background: var(--bg-tertiary); } .setting-item.full-width { flex-direction: column; align-items: stretch; min-height: 120px; } .setting-info { flex: 1; } .setting-info label { display: block; font-weight: 600; color: var(--text-primary); margin-bottom: 4px; font-size: 14px; } .setting-info span { color: var(--text-secondary); font-size: 13px; line-height: 1.5; } .switch { position: relative; display: inline-block; width: 50px; height: 26px; } .switch input { opacity: 0; width: 0; height: 0; } .slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background: var(--bg-input); transition: var(--transition); border-radius: 26px; border: 2px solid var(--border); } .slider:before { position: absolute; content: ""; height: 18px; width: 18px; left: 2px; top: 2px; background: var(--text-secondary); transition: var(--transition); border-radius: 50%; } input:checked + .slider { background: var(--accent-primary); border-color: var(--accent-primary); } input:checked + .slider:before { transform: translateX(24px); background: white; } .recruitment-controls { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; } .recruitment-preview { background: var(--bg-input); border: 2px solid var(--border); border-radius: var(--border-radius); padding: 16px; color: var(--text-secondary); font-size: 14px; line-height: 1.6; font-style: italic; min-height: 60px; display: flex; align-items: center; } /* ===== EMPTY STATE ===== */ .empty-state { text-align: center; padding: 60px 20px; color: var(--text-secondary); min-height: 300px; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; position: absolute; top: 0; left: 0; right: 0; bottom: 0; margin: auto; } .empty-state i { font-size: 64px; margin-bottom: 24px; opacity: 0.4; color: var(--accent-primary); } .empty-state h3 { font-size: 18px; font-weight: 600; margin-bottom: 12px; color: var(--text-primary); } .empty-state p { font-size: 14px; line-height: 1.6; max-width: 400px; margin: 0 auto; opacity: 0.8; } /* ===== TAB PANE POSITIONING ===== */ #pendingApplications, #applicationHistory { position: relative; min-height: 400px; height: 100%; } .tab-pane { position: relative; min-height: 400px; height: 100%; } /* ===== MODALS ===== */ .modal { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; display: flex; align-items: center; justify-content: center; z-index: 2000; background: transparent; } .modal-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: transparent; } .modal .panel { position: relative; z-index: 1; } .modal-panel { width: 700px; max-width: 90vw; min-height: 500px; max-height: 90vh; height: auto; } .modal-panel .panel-content { min-height: 400px; max-height: calc(90vh - 100px); height: auto; padding: 32px; overflow-y: auto; overflow-x: hidden; } .alert-panel { width: 500px; height: 300px; } .prompt-panel { width: 500px; min-height: 400px; max-height: 80vh; height: auto; } .confirm-panel { width: 550px; height: 400px; } /* ===== MODAL CONTENT ===== */ .alert-content { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 20px; padding: 20px; background: var(--bg-input); border-radius: var(--border-radius); border-left: 4px solid var(--info); } .alert-icon { font-size: 24px; color: var(--info); margin-top: 2px; } .alert-icon.success { color: var(--success); } .alert-icon.error { color: var(--error); } .alert-icon.warning { color: var(--warning); } .alert-content.success { border-left-color: var(--success); background: rgba(16, 185, 129, 0.05); } .alert-content.error { border-left-color: var(--error); background: rgba(239, 68, 68, 0.05); } .alert-content.warning { border-left-color: var(--warning); background: rgba(245, 158, 11, 0.05); } .alert-message { flex: 1; color: var(--text-primary); font-size: 14px; line-height: 1.6; font-weight: 500; } .confirm-content { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 28px; padding: 28px; background: rgba(245, 158, 11, 0.05); border-radius: var(--border-radius); border-left: 4px solid var(--warning); } .confirm-icon { font-size: 32px; color: var(--warning); margin-top: 4px; flex-shrink: 0; } .confirm-message { flex: 1; color: var(--text-primary); font-size: 15px; line-height: 1.8; font-weight: 500; } .prompt-content { flex: 1; display: flex; flex-direction: column; gap: 20px; margin-bottom: 24px; } .prompt-message { color: var(--text-primary); font-size: 15px; line-height: 1.7; font-weight: 500; padding: 20px; background: rgba(59, 130, 246, 0.05); border-radius: var(--border-radius); border-left: 4px solid var(--accent-primary); } .char-count { font-size: 12px; text-align: right; padding: 6px 12px; border-radius: var(--border-radius-sm); font-weight: 500; transition: var(--transition); } /* ===== APPLICATION DETAIL ===== */ .application-detail { display: flex; flex-direction: column; gap: 32px; padding-right: 0; } .detail-section { background: var(--bg-input); padding: 28px; border-radius: var(--border-radius); border: 1px solid var(--border); position: relative; overflow: visible; } .detail-section:last-child { margin-bottom: 20px; } .detail-section h4 { font-size: 18px; font-weight: 700; color: var(--text-primary); margin-bottom: 24px; padding-bottom: 16px; border-bottom: 2px solid var(--border); display: flex; align-items: center; gap: 10px; } .detail-row { display: flex; margin-bottom: 18px; padding: 14px 0; border-bottom: 1px solid rgba(148, 163, 184, 0.05); } .detail-row:last-child { border-bottom: none; margin-bottom: 0; } .detail-label { font-weight: 600; color: var(--text-secondary); min-width: 150px; font-size: 14px; } .detail-value { color: var(--text-primary); flex: 1; font-size: 14px; line-height: 1.7; } .rejection-reason { background: rgba(245, 158, 11, 0.1); padding: 10px; border-radius: var(--border-radius-sm); border-left: 4px solid var(--warning); font-style: italic; line-height: 1.5; } /* ===== LOADING OVERLAY ===== */ .loading-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0, 0, 0, 0.5); display: flex; align-items: center; justify-content: center; z-index: 3000; } .loading-spinner { text-align: center; color: var(--text-primary); padding: 32px; background: var(--bg-secondary); border-radius: var(--border-radius-lg); border: 1px solid var(--border); width: 200px; height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: center; } .loading-spinner i { font-size: 32px; color: var(--accent-primary); margin-bottom: 12px; animation: spin 1s linear infinite; } .loading-spinner p { font-size: 14px; font-weight: 600; color: var(--text-secondary); } /* ===== TOAST NOTIFICATIONS ===== */ .toast-container { position: fixed; top: 20px; right: 20px; z-index: 4000; display: flex; flex-direction: column; gap: 10px; width: 350px; } .toast { background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--border-radius); overflow: hidden; min-height: 60px; max-height: 200px; height: auto; transform: translateX(100%); transition: var(--transition); box-shadow: var(--shadow-lg); } .toast.fade-in { transform: translateX(0); } .toast.fade-out { transform: translateX(100%); opacity: 0; } .toast-content { display: flex; align-items: flex-start; gap: 12px; padding: 16px; min-height: 60px; height: auto; } .toast-icon { font-size: 18px; margin-top: 2px; flex-shrink: 0; } .toast-success .toast-icon { color: var(--success); } .toast-error .toast-icon { color: var(--error); } .toast-warning .toast-icon { color: var(--warning); } .toast-info .toast-icon { color: var(--info); } .toast-text { flex: 1; min-width: 0; word-wrap: break-word; overflow-wrap: break-word; } .toast-title { font-weight: 600; color: var(--text-primary); margin-bottom: 4px; font-size: 14px; line-height: 1.4; word-wrap: break-word; } .toast-message { color: var(--text-secondary); font-size: 13px; line-height: 1.5; word-wrap: break-word; overflow-wrap: break-word; white-space: pre-wrap; } .toast-close { background: none; border: none; color: var(--text-muted); cursor: pointer; padding: 4px; border-radius: 4px; transition: var(--transition); flex-shrink: 0; margin-top: 2px; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; } .toast-close:hover { background: rgba(255, 255, 255, 0.1); color: var(--text-primary); } /* Multi-line toast support */ .toast.multi-line { min-height: 80px; } .toast.multi-line .toast-content { align-items: flex-start; min-height: 80px; } /* Long message support */ .toast.long-message { min-height: 100px; max-height: 200px; } .toast.long-message .toast-content { min-height: 100px; } .toast.long-message .toast-message { max-height: 120px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--text-muted) transparent; } .toast.long-message .toast-message::-webkit-scrollbar { width: 4px; } .toast.long-message .toast-message::-webkit-scrollbar-track { background: transparent; } .toast.long-message .toast-message::-webkit-scrollbar-thumb { background: var(--text-muted); border-radius: 2px; } /* ===== HELP TEXT ===== */ .help-text-container { position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%); z-index: 3500; pointer-events: none; width: 300px; } .help-text { background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--border-radius); padding: 10px 16px; color: var(--text-primary); font-size: 13px; font-weight: 500; text-align: center; height: 40px; display: flex; align-items: center; justify-content: center; } /* ===== RESPONSIVE DESIGN ===== */ @media (max-width: 1300px) { .boss-panel { width: 95vw; max-width: 1100px; } } @media (max-width: 768px) { .application-panel { width: 95vw; max-height: 95vh; margin: 10px; } .boss-panel { width: 95vw; max-width: 600px; height: 90vh; max-height: 700px; } .panel-content { padding: 20px 24px; } .boss-panel .panel-content { height: calc(90vh - 160px); } #questionsContainer { gap: 20px; padding: 16px 0; max-height: calc(95vh - 260px); } .form-label { font-size: 14px; } .form-control { padding: 14px 16px; font-size: 14px; } textarea.form-control { min-height: 100px; } .radio-option { padding: 14px 16px; } .form-actions { flex-direction: column-reverse; gap: 10px; padding: 20px 0 8px 0; min-height: 100px; } .form-actions .btn { width: 100%; justify-content: center; } .modal-panel { width: 95vw; max-width: 600px; min-height: 400px; max-height: 85vh; } .alert-panel, .prompt-panel { width: 95vw; max-width: 400px; min-height: 350px; max-height: 85vh; } .confirm-panel { width: 95vw; max-width: 450px; height: auto; min-height: 350px; } .panel-header { padding: 20px 24px; height: 80px; } .modal-panel .panel-content { height: calc(90vh - 160px); } .tabs { flex-direction: column; height: auto; } .tab-btn { justify-content: flex-start; } .application-card-actions { flex-direction: column; } .setting-item { flex-direction: column; align-items: flex-start; gap: 12px; min-height: 100px; } .detail-row { flex-direction: column; gap: 6px; } .detail-label { min-width: auto; font-weight: 700; } .toast-container { left: 10px; right: 10px; width: auto; } .help-text-container { width: 90vw; max-width: 300px; } .detail-section { padding: 20px; } } /* ===== ACCESSIBILITY & REDUCED MOTION ===== */ @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; } .boss-panel::after, .boss-panel::before, .boss-panel .panel-header::after, .boss-panel .panel-content::before, .boss-panel .panel-content::after, .boss-panel .tabs::before, .application-panel::after, .application-panel .panel-content::before { animation: none !important; } } /* Ensure content is always above animated backgrounds */ .boss-panel .panel-header, .boss-panel .tabs, .boss-panel .tab-pane, .boss-panel .application-card, .boss-panel .settings-group, .boss-panel .empty-state, .application-panel .panel-header, .application-panel .panel-content > *:not(::before):not(::after) { position: relative; z-index: 2; }