@use '../../../shared/styles/panel-shared' as panel; @use '../../../../assets/layout/styles/layout/variables'; .user-profile-dialog { min-width: 300px; max-width: 650px; display: flex; flex-direction: column; @media (width >= 768px) { min-width: 500px; } @media (width <= 768px) { width: 100%; max-width: 100%; } } .panel-header { @include panel.panel-header; } .form-container { display: flex; flex-direction: column; gap: 2rem; padding: 2rem; background: var(--color-page); border: 1px solid var(--color-border); border-top: none; border-radius: 0 0 10px 10px; box-shadow: 0 2px 6px rgb(0 0 0 / 8%); max-height: 60vh; overflow-y: auto; @media #{variables.$mobile-shell-media-query} { padding: 1rem; gap: 1.25rem; } } .form-section { display: flex; flex-direction: column; gap: 1rem; .section-title { display: flex; align-items: center; gap: 0.5rem; margin: 0 0 0.5rem; font-size: 1rem; font-weight: 600; color: var(--color-text); i { color: var(--color-primary); font-size: 1.125rem; } } form { display: flex; flex-direction: column; gap: 1rem; } } .preferences-section { gap: 1rem; } .preference-select { width: 100%; } .form-field { display: flex; flex-direction: column; gap: 0.5rem; .field-label { font-size: 0.9rem; font-weight: 500; color: var(--color-text); } .field-input { width: 100%; &.p-inputtext:disabled { background: var(--color-card) !important; color: var(--color-text-secondary); -webkit-text-fill-color: var(--color-text-secondary); opacity: 1; cursor: not-allowed; } } ::ng-deep p-password { width: 100%; .p-password { width: 100%; .p-inputtext { width: 100%; } } } .field-value { font-size: 1rem; color: var(--color-text); padding: 0.75rem; background: var(--color-card); border: 1px solid var(--color-border); border-radius: 6px; margin: 0; } .field-error { display: flex; align-items: center; gap: 0.375rem; color: var(--color-red-500); font-size: 0.875rem; margin-top: -0.25rem; i { font-size: 0.875rem; } } } fieldset.form-field { min-width: 0; margin: 0; padding: 0; border: 0; } .custom-primary-card { padding: 0.75rem; background: var(--color-card); border-radius: 6px; box-shadow: inset 0 0 0 1px var(--color-border); } .custom-primary-options { display: flex; flex-wrap: wrap; gap: 0.5rem; } .edit-actions { margin-top: 0.5rem; .edit-buttons { display: flex; gap: 0.75rem; } } .password-actions { margin-top: 0.5rem; } .loading-state { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 300px; gap: 1rem; .loading-icon { font-size: 2rem; color: var(--color-primary); } p { font-size: 1rem; color: var(--color-text-secondary); } }