.settings-grid { display: grid; gap: 24px; } .settings-section { border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 24px; } .section-header { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--border-color); } .section-icon { width: 40px; height: 40px; border-radius: var(--radius-sm); background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(37, 99, 235, 0.1)); display: flex; align-items: center; justify-content: center; color: var(--accent-primary); } .section-icon i { font-size: 22px; } .section-title { font-size: 18px; font-weight: 600; color: var(--text-primary); } .section-description { font-size: 14px; color: var(--text-secondary); margin-top: 4px; } .settings-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.05); } .settings-item:last-child { border-bottom: none; } .setting-label { font-size: 14px; color: var(--text-primary); } .setting-value { font-size: 14px; color: var(--text-secondary); } .placeholder-badge { display: inline-block; padding: 4px 12px; background: rgba(124, 58, 237, 0.1); color: var(--accent-primary); border-radius: var(--radius-sm); font-size: 12px; font-weight: 500; } .badge { padding: 4px 8px; border-radius: var(--radius-sm); font-size: 12px; font-weight: 500; } .badge-success { background: rgba(34, 197, 94, 0.1); color: #22c55e; } .badge-warning { background: rgba(245, 158, 11, 0.1); color: #f59e0b; } .btn { padding: 6px 12px; border: none; border-radius: var(--radius-sm); font-size: 13px; font-weight: 500; cursor: pointer; transition: all 0.2s; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; } .btn-sm { padding: 4px 8px; font-size: 12px; } .btn-primary { background: var(--accent-primary); color: white; } .btn-outline { background: transparent; border: 1px solid var(--border-color); color: var(--text-primary); } .btn-danger { background: rgba(239, 68, 68, 0.1); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.2); } .oauth-provider { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.05); } .oauth-provider:last-child { border-bottom: none; } .provider-info { display: flex; align-items: center; gap: 12px; } .provider-icon { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; font-size: 22px; color: white; } .provider-details { display: flex; flex-direction: column; gap: 2px; } .provider-name { font-size: 14px; color: var(--text-primary); font-weight: 500; } .provider-email { font-size: 12px; color: var(--text-secondary); } .oauth-buttons { display: flex; gap: 8px; flex-wrap: wrap; } /* Profile Picture Selection Styles */ .picture-grid { display: flex; gap: 16px; margin-top: 16px; flex-wrap: wrap; } .picture-option { position: relative; cursor: pointer; transition: transform 0.2s ease; } .picture-option:hover:not(.disabled) { transform: scale(1.05); } .picture-option.disabled { opacity: 0.4; cursor: not-allowed; } .picture-option.disabled:hover { transform: none; } .picture-preview { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid transparent; } .picture-option.selected .picture-preview { border-color: var(--accent-primary); } .picture-placeholder { width: 64px; height: 64px; border-radius: 50%; background: #6b7280; display: flex; align-items: center; justify-content: center; border: 3px solid transparent; } .picture-placeholder i { font-size: 24px; color: white; } .current-indicator { position: absolute; top: -2px; right: -2px; width: 20px; height: 20px; background: var(--accent-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 12px; border: 2px solid var(--surface-bg); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); } .coming-soon-badge { position: absolute; top: -8px; right: -8px; background: var(--accent-secondary); color: white; font-size: 10px; padding: 2px 6px; border-radius: 8px; font-weight: 500; font-family: monospace; } /* Set Password Modal Styles - Match dashboard modal patterns */ .modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 9999; opacity: 0; visibility: hidden; transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1); } .modal.active { display: flex; opacity: 1; visibility: visible; } .modal-backdrop { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); -webkit-backdrop-filter: blur(10px) saturate(180%) brightness(0.7); backdrop-filter: blur(10px) saturate(180%) brightness(0.7); } .modal-container { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 20px; position: relative; z-index: 2; background: rgba(0, 0, 0, 0.7); -webkit-backdrop-filter: blur(10px) saturate(180%) brightness(0.7); backdrop-filter: blur(10px) saturate(180%) brightness(0.7); } .modal-container.modal-sm { margin: 0 auto; } .modal-content { backdrop-filter: blur(60px); background: rgba(15, 20, 35, 0.5); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 16px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05); width: 100%; max-width: 550px; max-height: 90vh; overflow: hidden; transform: scale(0.85) translateY(20px); opacity: 0; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); position: relative; } .modal.active .modal-content { transform: scale(1) translateY(0); opacity: 1; } .modal-header { display: flex; align-items: flex-start; justify-content: space-between; padding: 20px 21px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.02); } .modal-title-section { display: flex; align-items: center; gap: 16px; flex: 1; } .modal-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(37, 99, 235, 0.1)); color: var(--accent-primary); } .modal-title { font-size: 24px; font-weight: 600; color: var(--text-primary); margin: 0 0 4px 0; line-height: 1.2; } .modal-subtitle { font-size: 14px; color: var(--text-secondary); margin: 0; line-height: 1.4; } .modal-close { background: none; border: none; color: var(--text-secondary); font-size: 24px; cursor: pointer; padding: 8px; border-radius: 8px; transition: all 0.2s ease; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; } .modal-close:hover { background: rgba(255, 255, 255, 0.1); color: var(--text-primary); } .modal-body { padding: 32px; max-height: 60vh; overflow-y: auto; } .modal-body::-webkit-scrollbar { width: 6px; } .modal-body::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.05); border-radius: 3px; } .modal-body::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.2); border-radius: 3px; } .form-grid { display: grid; gap: 24px; } .field { display: flex; flex-direction: column; gap: 8px; width: 100%; min-width: 0; } .field label { font-size: 14px; font-weight: 500; color: var(--text-primary); } .field input { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 8px; padding: 12px 16px; color: var(--text-primary); font-size: 14px; transition: all 0.2s ease; width: 100%; box-sizing: border-box; min-width: 0; } .field input:focus { outline: none; border-color: var(--accent-primary); background: rgba(255, 255, 255, 0.08); } .field input::placeholder { color: var(--text-secondary); } .field-hint { font-size: 12px; color: var(--text-secondary); line-height: 1.4; } .modal-footer { display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding: 24px 32px; border-top: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.02); } .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border-radius: 6px; font-size: 13px; font-weight: 500; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: all 0.15s ease; white-space: nowrap; min-height: 36px; } .btn i { font-size: 14px; } .btn-primary { background: #6366f1; color: white; border-color: #6366f1; } .btn-primary:hover { background: #5855eb; border-color: #5855eb; } .btn-primary:active { background: #4f46e5; border-color: #4f46e5; } .btn-secondary { background: rgba(255, 255, 255, 0.1); color: var(--text-secondary); border-color: rgba(255, 255, 255, 0.2); } .btn-secondary:hover { background: rgba(255, 255, 255, 0.15); color: var(--text-primary); border-color: rgba(255, 255, 255, 0.3); } .btn:disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; } .btn-settings { background: var(--accent-primary); color: white; padding: 4px 8px; border: none; border-radius: var(--radius-sm); font-size: 13px; font-weight: 500; cursor: pointer; transition: all 0.2s; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; } .spinning { animation: spin 1s linear infinite; } /* Field Error Styles */ .field input.error { border-color: #ef4444 !important; background: rgba(239, 68, 68, 0.05); } .field-error { color: #ef4444; font-size: 12px; margin-top: 4px; display: block; } /* Password Strength Indicator */ .password-strength-container { margin: 8px 0 0 0; padding: 0; } .password-strength-bar-container { width: 100%; height: 4px; background: rgba(255, 255, 255, 0.1); border-radius: 2px; overflow: hidden; margin-bottom: 4px; } .password-strength-bar { height: 100%; width: 0%; background: #ef4444; border-radius: 2px; transition: all 0.3s ease; } .password-strength-label { font-size: 12px; color: #ef4444; text-align: right; font-weight: 500; } /* Password Requirements */ .password-requirements { margin: 8px 0 0 0; padding: 0; list-style: none; font-size: 12px; } .password-requirements li { display: flex; align-items: center; margin: 2px 0; color: rgba(255, 255, 255, 0.7); transition: color 0.2s ease; } .password-requirements .requirement-icon { margin-right: 6px; font-weight: bold; width: 12px; text-align: center; } .password-requirements .requirement-missing { color: #ef4444; } .password-requirements .requirement-missing .requirement-icon { color: #ef4444; } .password-requirements .requirement-met { color: #22c55e; } .password-requirements .requirement-met .requirement-icon { color: #22c55e; } /* Mobile Responsive */ @media (max-width: 768px) { .modal-container { padding: 16px; } .modal-content { max-width: none; max-height: 95vh; } .modal-header, .modal-body, .modal-footer { padding: 20px; } .modal-title-section { gap: 12px; } .modal-icon { width: 40px; height: 40px; font-size: 20px; } .modal-title { font-size: 20px; } .modal-footer { flex-direction: column; gap: 12px; } .modal-footer .btn { width: 100%; justify-content: center; } }