.settings-modal{position:fixed;top:0;left:0;right:0;bottom:0;z-index:10000;display:flex;align-items:center;justify-content:center;padding:1rem}.settings-modal-overlay{position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.5);backdrop-filter:blur(4px);animation:fadeIn .3s ease}.settings-modal-container{position:relative;z-index:1;width:100%;max-width:560px;max-height:90vh;animation:slideUp .3s cubic-bezier(.4,0,.2,1)}.settings-modal-wide .settings-modal-container{max-width:900px}.settings-modal-content{background:#fff;border-radius:1.25rem;box-shadow:0 25px 50px -12px rgba(0,0,0,.25);overflow:hidden;display:flex;flex-direction:column;max-height:90vh}.settings-modal-header{display:flex;align-items:flex-start;justify-content:space-between;padding:2rem;border-bottom:1px solid rgba(0,0,0,.08);background:linear-gradient(135deg,rgba(184,134,11,.03),rgba(212,175,55,.02))}.settings-header-content{display:flex;align-items:flex-start;gap:1rem;flex:1}.settings-icon-wrapper{width:48px;height:48px;border-radius:12px;background:linear-gradient(135deg,rgba(184,134,11,.15),rgba(212,175,55,.1));display:flex;align-items:center;justify-content:center;flex-shrink:0}.settings-icon-wrapper svg{color:#b8860b}.settings-modal-title{font-size:1.5rem;font-weight:700;color:#1a1a1a;margin:0 0 .25rem 0;line-height:1.2}.settings-modal-subtitle{font-size:.875rem;color:#666;margin:0;line-height:1.4}.settings-modal-close{width:36px;height:36px;border-radius:8px;background:0 0;border:none;color:#666;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s;flex-shrink:0}.settings-modal-close:hover{background:rgba(0,0,0,.05);color:#1a1a1a}.settings-modal-body{padding:2rem;overflow-y:auto;flex:1}.settings-modal-body::-webkit-scrollbar{width:8px}.settings-modal-body::-webkit-scrollbar-track{background:0 0}.settings-modal-body::-webkit-scrollbar-thumb{background:rgba(184,134,11,.2);border-radius:4px}.settings-modal-body::-webkit-scrollbar-thumb:hover{background:rgba(184,134,11,.3)}.profile-picture-section{display:flex;justify-content:center;margin-bottom:2rem;padding-bottom:2rem;border-bottom:1px solid rgba(0,0,0,.08)}.profile-picture-wrapper{text-align:center}.profile-picture-preview{width:120px;height:120px;border-radius:50%;background:linear-gradient(135deg,rgba(184,134,11,.15),rgba(212,175,55,.1));border:3px solid rgba(184,134,11,.3);display:flex;align-items:center;justify-content:center;margin:0 auto 1rem;overflow:hidden}.profile-picture-preview svg{color:#b8860b}.profile-picture-preview img{width:100%;height:100%;object-fit:cover}.profile-picture-upload{display:inline-flex;align-items:center;gap:.5rem;padding:.625rem 1.25rem;background:#fff;border:1.5px solid rgba(184,134,11,.3);border-radius:8px;color:#b8860b;font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s}.profile-picture-upload:hover{background:rgba(184,134,11,.05);border-color:#b8860b}.profile-picture-upload svg{width:16px;height:16px}.settings-form{display:flex;flex-direction:column;gap:1.5rem}.settings-section-title{font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:#999;margin:1.5rem 0 1rem}.settings-section-title:first-child{margin-top:0}.settings-form-group{display:flex;flex-direction:column;gap:.5rem}.settings-label{display:flex;align-items:center;gap:.5rem;font-size:.875rem;font-weight:600;color:#374151}.settings-label svg{color:#999;flex-shrink:0}.settings-input,.settings-select{width:100%;padding:.75rem 1rem;border:1.5px solid rgba(0,0,0,.12);border-radius:10px;font-size:.9375rem;color:#1a1a1a;background:#fff;transition:all .2s}.settings-input:focus,.settings-select:focus{outline:0;border-color:#b8860b;box-shadow:0 0 0 3px rgba(184,134,11,.1)}.settings-input::placeholder{color:#999}.settings-select{cursor:pointer;appearance:none;background-image:url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%23666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 1rem center;padding-right:2.5rem}.settings-hint{font-size:.8125rem;color:#999;margin-top:-.25rem}.settings-error{font-size:.8125rem;color:#ef4444;margin-top:-.25rem;display:none}.settings-error:not(:empty){display:block}.password-input-wrapper{position:relative}.password-input-wrapper .settings-input{padding-right:3rem}.password-toggle-btn{position:absolute;right:.75rem;top:50%;transform:translateY(-50%);background:0 0;border:none;color:#999;cursor:pointer;padding:.5rem;display:flex;align-items:center;justify-content:center;transition:color .2s}.password-toggle-btn:hover{color:#666}.settings-toggle-group{display:flex;flex-direction:column;gap:1rem}.settings-toggle-item{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem;background:rgba(0,0,0,.02);border-radius:10px;transition:background .2s}.settings-toggle-item:hover{background:rgba(0,0,0,.04)}.settings-toggle-info{flex:1}.settings-toggle-title{font-size:.9375rem;font-weight:600;color:#1a1a1a;margin-bottom:.25rem}.settings-toggle-description{font-size:.8125rem;color:#666;line-height:1.4}.settings-toggle{position:relative;width:48px;height:28px;flex-shrink:0}.settings-toggle input{opacity:0;width:0;height:0}.settings-toggle-slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background:#e5e7eb;border-radius:28px;transition:all .3s}.settings-toggle-slider:before{position:absolute;content:"";height:20px;width:20px;left:4px;bottom:4px;background:#fff;border-radius:50%;transition:all .3s;box-shadow:0 2px 4px rgba(0,0,0,.2)}.settings-toggle input:checked+.settings-toggle-slider{background:#b8860b}.settings-toggle input:checked+.settings-toggle-slider:before{transform:translateX(20px)}.settings-form-actions{display:flex;align-items:center;justify-content:flex-end;gap:.75rem;margin-top:1rem;padding-top:1.5rem;border-top:1px solid rgba(0,0,0,.08)}.settings-btn-primary,.settings-btn-secondary{padding:.75rem 1.5rem;border-radius:10px;font-size:.9375rem;font-weight:600;cursor:pointer;transition:all .2s;border:none;display:inline-flex;align-items:center;gap:.5rem;justify-content:center;text-decoration:none}.settings-btn-primary{background:linear-gradient(135deg,#b8860b,#d4af37);color:#fff;box-shadow:0 4px 12px rgba(184,134,11,.3)}.settings-btn-primary:hover{transform:translateY(-1px);box-shadow:0 6px 16px rgba(184,134,11,.4)}.settings-btn-primary:active{transform:translateY(0)}.settings-btn-primary:disabled{opacity:.6;cursor:not-allowed;transform:none}.settings-btn-secondary{background:#fff;color:#666;border:1.5px solid rgba(0,0,0,.12)}.settings-btn-secondary:hover{background:rgba(0,0,0,.02);border-color:rgba(0,0,0,.2);color:#1a1a1a}@keyframes spin{from{transform:rotate(0)}to{transform:rotate(360deg)}}.spinner{animation:spin 1s linear infinite}.settings-tabs{display:flex;gap:.5rem;margin-bottom:2rem;padding-bottom:1rem;border-bottom:1px solid rgba(0,0,0,.08)}.settings-tab{display:inline-flex;align-items:center;gap:.5rem;padding:.75rem 1.25rem;background:0 0;border:none;border-radius:10px;color:#666;font-size:.9375rem;font-weight:600;cursor:pointer;transition:all .2s}.settings-tab svg{width:16px;height:16px}.settings-tab:hover{background:rgba(0,0,0,.04);color:#1a1a1a}.settings-tab.active{background:linear-gradient(135deg,rgba(184,134,11,.15),rgba(212,175,55,.1));color:#b8860b}.empty-state{text-align:center;padding:3rem 2rem}.empty-state-icon{margin:0 auto 1.5rem;width:80px;height:80px;border-radius:50%;background:linear-gradient(135deg,rgba(184,134,11,.1),rgba(212,175,55,.05));display:flex;align-items:center;justify-content:center}.empty-state-icon svg{color:#b8860b;opacity:.5}.empty-state-title{font-size:1.25rem;font-weight:700;color:#1a1a1a;margin:0 0 .5rem 0}.empty-state-text{font-size:.9375rem;color:#666;margin:0 0 1.5rem 0;line-height:1.6}.orders-list{display:flex;flex-direction:column;gap:1rem}.order-card{padding:1.5rem;background:#fff;border:1.5px solid rgba(0,0,0,.08);border-radius:12px;transition:all .2s}.order-card:hover{border-color:rgba(184,134,11,.3);box-shadow:0 4px 12px rgba(0,0,0,.08)}.saved-items-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1.5rem}.saved-item-card{background:#fff;border:1.5px solid rgba(0,0,0,.08);border-radius:12px;overflow:hidden;transition:all .2s;position:relative}.saved-item-card:hover{border-color:rgba(184,134,11,.3);box-shadow:0 4px 12px rgba(0,0,0,.08);transform:translateY(-2px)}.saved-item-remove{position:absolute;top:.5rem;right:.5rem;width:32px;height:32px;border-radius:50%;background:rgba(255,255,255,.95);border:1px solid rgba(0,0,0,.1);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s;z-index:2}.saved-item-remove:hover{background:#fee;border-color:#f44;color:#f44}.saved-item-image{width:100%;height:180px;object-fit:cover;display:block}.saved-item-content{padding:1rem;display:flex;flex-direction:column;gap:.5rem}.saved-item-name{font-size:.9375rem;font-weight:600;color:#1a1a1a;margin:0;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.saved-item-category{font-size:.8125rem;color:#666;margin:0}.saved-item-add-to-quote{margin-top:.5rem;padding:.5rem 1rem;background:linear-gradient(135deg,#b8860b 0,#d4af37 100%);color:#fff;border:none;border-radius:6px;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center;gap:.5rem}.saved-item-add-to-quote:hover{background:linear-gradient(135deg,#9a6f0a 0,#b8960b 100%);transform:translateY(-1px);box-shadow:0 2px 8px rgba(184,134,11,.3)}.saved-item-add-to-quote svg{width:16px;height:16px}@keyframes fadeIn{from{opacity:0}to{opacity:1}}@keyframes slideUp{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@media (max-width:768px){.settings-modal{padding:0}.settings-modal-container{max-height:100vh;border-radius:0}.settings-modal-content{border-radius:0;max-height:100vh}.settings-modal-header{padding:1.5rem}.settings-modal-body{padding:1.5rem}.settings-modal-title{font-size:1.25rem}.settings-form-actions{flex-direction:column-reverse}.settings-btn-primary,.settings-btn-secondary{width:100%}.settings-tabs{overflow-x:auto;flex-wrap:nowrap}.saved-items-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:1rem}}