:root{--bg:#faf8f4;--bg-alt:#f4f1eb;--bg-card:#fff;--bg-surface:#f0ece2;--gold:#b8912a;--gold-light:#d4a93a;--gold-deep:#9a7820;--gold-darkdeep:#695421;--gold-pale:#b8912a1a;--gold-glow:#b8912a38;--text-primary:#1a1712;--text-secondary:#5a5448;--text-muted:#9a9080;--border:#00000014;--border-gold:#b8912a47;--shadow-sm:0 2px 8px #0000000f;--shadow-md:0 6px 24px #00000014;--shadow-lg:0 16px 48px #0000001a;--shadow-gold:0 8px 32px #b8912a2e;--accent-rose:#d94f6b;--accent-blue:#2f6fbf;--accent-teal:#0f9e8a;--font-display:"Cormorant Garamond",Georgia,serif;--font-body:"DM Sans",system-ui,sans-serif;--ease-out-expo:cubic-bezier(.16,1,.3,1);--ease-spring:cubic-bezier(.34,1.56,.64,1)}*{box-sizing:border-box}.profile-page{background:var(--bg);min-height:100vh;padding:3rem 1rem 5rem}.profile-page .container{max-width:1200px;margin:0 auto;padding:0}.profile-header{border-bottom:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:1rem;margin-bottom:2.5rem;padding-bottom:1.25rem;display:flex}.profile-header-left h1{font-family:var(--font-display);color:var(--text-primary);letter-spacing:-.01em;margin-bottom:.25rem;font-size:clamp(2rem,5vw,3rem);font-weight:400;line-height:1.1}.profile-header-left p{color:var(--text-muted);font-size:.875rem;font-weight:300}.btn-edit-profile{background:var(--gold-light);color:#1a1712;font-family:var(--font-body);letter-spacing:.08em;text-transform:uppercase;cursor:pointer;transition:all .3s var(--ease-out-expo);box-shadow:0 2px 12px var(--gold-glow);white-space:nowrap;border:none;border-radius:8px;align-items:center;gap:.5rem;padding:.75rem 2rem;font-size:.8rem;font-weight:700;display:inline-flex}.btn-edit-profile:hover{background:var(--gold);box-shadow:var(--shadow-gold);transform:translateY(-2px)}.profile-grid{grid-template-columns:340px 1fr;align-items:start;gap:2rem;display:grid}.profile-card{background:var(--bg-card);border:1px solid var(--border);box-shadow:var(--shadow-sm);transition:box-shadow .3s var(--ease-out-expo);border-radius:20px;overflow:hidden}.profile-card:hover{box-shadow:var(--shadow-md)}.profile-card-body{padding:2rem}.identity-block{text-align:center;border-bottom:1px solid var(--border);margin-bottom:1.5rem;padding-bottom:1.5rem}.avatar-ring{background:var(--bg-surface);border:1px solid var(--border-gold);width:80px;height:80px;box-shadow:0 0 0 6px var(--gold-pale);border-radius:50%;justify-content:center;align-items:center;margin-bottom:1rem;display:inline-flex;overflow:hidden}.avatar-ring i{color:var(--gold);font-size:2.25rem}.profile-avatar-image{object-fit:cover;border-radius:50%;width:100%;height:100%}.identity-name{font-family:var(--font-display);color:var(--text-primary);margin-bottom:.25rem;font-size:1.7rem;font-weight:400}.identity-email{color:var(--text-muted);margin-bottom:.75rem;font-size:.875rem;font-weight:300}.role-badge{letter-spacing:.1em;text-transform:uppercase;border-radius:100px;padding:.25rem 1rem;font-size:.7rem;font-weight:700;display:inline-block}.role-badge.seller{color:#0a7a6a;background:#0f9e8a1a;border:1px solid #0f9e8a40}.role-badge.user{color:#1a5ca8;background:#2f6fbf1a;border:1px solid #2f6fbf40}.contact-section h6,.bank-section h6{font-family:var(--font-display);color:var(--text-primary);margin-bottom:1rem;font-size:1rem;font-weight:500}.contact-list{flex-direction:column;gap:.75rem;display:flex}.contact-row{color:var(--text-secondary);align-items:flex-start;gap:.75rem;font-size:.875rem;font-weight:300;display:flex}.contact-row i{color:var(--gold);flex-shrink:0;margin-top:2px;font-size:.9rem}.bank-section{border-top:1px solid var(--border);margin-top:1.5rem;padding-top:1.5rem}.bank-connected{background:var(--bg-surface);border:1px solid var(--border);border-radius:12px;align-items:center;gap:.875rem;padding:.875rem 1rem;display:flex}.bank-icon{color:var(--gold);font-size:1.375rem}.bank-name{color:var(--text-primary);font-size:.875rem;font-weight:500}.bank-last4{color:var(--text-muted);font-size:.75rem}.btn-add-bank{width:100%;color:var(--gold);letter-spacing:.05em;text-transform:uppercase;border:1px dashed var(--border-gold);cursor:pointer;background:0 0;border-radius:10px;justify-content:center;align-items:center;gap:.5rem;padding:.75rem;font-size:.8rem;font-weight:600;transition:all .3s;display:flex}.btn-add-bank:hover{background:var(--gold-pale);border-style:solid}.profile-right{flex-direction:column;gap:1.5rem;display:flex}.wallet-stats{grid-template-columns:repeat(3,1fr);gap:1rem;display:grid}.wallet-stat-card{background:var(--bg-card);border:1px solid var(--border);box-shadow:var(--shadow-sm);border-radius:16px;padding:1.5rem 1.25rem;transition:all .3s;position:relative;overflow:hidden}.wallet-stat-card:after{content:"";opacity:0;height:3px;transition:opacity .3s;position:absolute;bottom:0;left:0;right:0}.wallet-stat-card:hover{box-shadow:var(--shadow-md);transform:translateY(-3px)}.wallet-stat-card:hover:after{opacity:1}.wallet-stat-card.available:after{background:var(--gold-light)}.wallet-stat-card.locked:after{background:#f59e0b}.wallet-stat-card.earned:after{background:var(--accent-teal)}.stat-label{letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted);margin-bottom:.5rem;font-size:.7rem;font-weight:600}.stat-value{font-family:var(--font-display);margin-bottom:.25rem;font-size:1.75rem;font-weight:600;line-height:1.1}.wallet-stat-card.available .stat-value{color:var(--gold)}.wallet-stat-card.locked .stat-value{color:#b45309}.wallet-stat-card.earned .stat-value{color:#0a7a6a}.stat-hint{color:var(--text-muted);font-size:.7rem;font-weight:300}.btn-withdraw{color:#0a7a6a;letter-spacing:.05em;text-transform:uppercase;cursor:pointer;background:#f0fdf9;border:1px solid #0f9e8a4d;border-radius:12px;justify-content:center;align-items:center;gap:.625rem;width:100%;padding:1rem;font-size:.85rem;font-weight:700;transition:all .3s;display:flex;box-shadow:0 2px 12px #0f9e8a1a}.btn-withdraw:hover{color:#fff;background:#0f9e8a;border-color:#0f9e8a;transform:translateY(-2px);box-shadow:0 8px 24px #0f9e8a40}.transactions-card{background:var(--bg-card);border:1px solid var(--border);box-shadow:var(--shadow-sm);border-radius:20px;overflow:hidden}.transactions-header{border-bottom:1px solid var(--border);align-items:center;gap:.625rem;padding:1.25rem 1.5rem;display:flex}.transactions-header i{color:var(--gold);font-size:1.125rem}.transactions-header h5{font-family:var(--font-display);color:var(--text-primary);margin:0;font-size:1.25rem;font-weight:500}.tx-empty{color:var(--text-muted);flex-direction:column;align-items:center;gap:.75rem;padding:4rem 1rem;display:flex}.tx-empty i{color:var(--border);font-size:2.5rem}.tx-table-wrapper{overflow-x:auto}.tx-table{border-collapse:collapse;width:100%;min-width:600px;font-size:.8125rem}.tx-table thead tr{background:var(--bg-surface);border-bottom:1px solid var(--border)}.tx-table thead th{letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted);white-space:nowrap;text-align:left;padding:.75rem 1rem;font-size:.65rem;font-weight:600}.tx-table tbody tr{border-bottom:1px solid var(--border);transition:background .15s}.tx-table tbody tr:last-child{border-bottom:none}.tx-table tbody tr:hover{background:var(--bg-surface)}.tx-table td{color:var(--text-secondary);vertical-align:middle;padding:.75rem 1rem}.tx-type-cell{align-items:center;gap:.5rem;display:flex}.tx-type-cell i{font-size:1rem}.tx-type-cell i.received{color:#0a7a6a}.tx-type-cell i.send{color:var(--accent-rose)}.tx-type-cell i.withdrawal{color:#b45309}.tx-type-cell i.refund{color:var(--accent-blue)}.tx-type-cell i.default{color:var(--text-muted)}.tx-type-label{color:var(--text-primary);text-transform:capitalize;font-weight:500}.tx-description{white-space:nowrap;text-overflow:ellipsis;max-width:200px;color:var(--text-muted);font-size:.8rem;font-weight:300;overflow:hidden}.tx-amount{font-family:var(--font-display);white-space:nowrap;font-size:1rem;font-weight:600}.tx-amount.positive{color:#0a7a6a}.tx-amount.negative{color:var(--accent-rose)}.tx-status-badge{letter-spacing:.04em;text-transform:uppercase;border-radius:100px;padding:.2rem .6rem;font-size:.65rem;font-weight:600;display:inline-block}.tx-status-badge.pending{color:#b45309;background:#f59e0b1f;border:1px solid #f59e0b4d}.tx-status-badge.completed{color:#0a7a6a;background:#0f9e8a1a;border:1px solid #0f9e8a40}.tx-status-badge.failed{color:#b8304f;background:#d94f6b1a;border:1px solid #d94f6b40}.tx-status-badge.locked{color:#1a5ca8;background:#2f6fbf1a;border:1px solid #2f6fbf40}.tx-date{color:var(--text-muted);white-space:nowrap;font-size:.7rem;font-weight:300}.tx-pagination{border-top:1px solid var(--border);flex-wrap:wrap;justify-content:center;align-items:center;gap:.375rem;padding:1.25rem;display:flex}.page-btn{border:1px solid var(--border);min-width:36px;height:36px;color:var(--text-secondary);cursor:pointer;background:0 0;border-radius:8px;padding:0 .75rem;font-size:.8rem;font-weight:500;transition:all .2s}.page-btn:hover:not(:disabled){border-color:var(--border-gold);color:var(--gold);background:var(--gold-pale)}.page-btn.active{background:var(--gold-light);color:#1a1712;border-color:var(--gold-light);font-weight:700}.page-btn:disabled{opacity:.4;cursor:not-allowed}.profile-loading{min-height:60vh;color:var(--text-muted);flex-direction:column;justify-content:center;align-items:center;gap:1rem;font-size:.875rem;display:flex}.profile-loading .loader-spinner{border:2px solid var(--border);border-top-color:var(--gold);border-radius:50%;width:38px;height:38px;animation:.9s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.profile-toast{z-index:9999;color:#fff;box-shadow:var(--shadow-lg);min-width:280px;max-width:400px;animation:toastIn .3s var(--ease-out-expo)forwards;border-radius:12px;align-items:center;gap:.75rem;padding:.875rem 1.25rem;font-size:.85rem;font-weight:500;display:flex;position:fixed;top:1rem;right:1rem}@keyframes toastIn{0%{opacity:0;transform:translate(110%)}to{opacity:1;transform:translate(0)}}.profile-toast.success{background:#0f9e8a}.profile-toast.error{background:var(--accent-rose)}.profile-toast.warning{background:#d97706}.profile-toast.info{background:var(--accent-blue)}.toast-close-btn{color:#fff;cursor:pointer;background:#fff3;border:none;border-radius:50%;justify-content:center;align-items:center;width:24px;height:24px;margin-left:auto;font-size:1rem;transition:background .2s;display:flex}.toast-close-btn:hover{background:#ffffff59}.profile-modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:1050;background:#1a17128c;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.profile-modal{background:var(--bg-card);border:1px solid var(--border);width:100%;max-width:480px;box-shadow:var(--shadow-lg);animation:modalIn .3s var(--ease-out-expo)forwards;border-radius:20px;max-height:90vh;overflow:hidden auto}@keyframes modalIn{0%{opacity:0;transform:translateY(24px)scale(.97)}to{opacity:1;transform:translateY(0)scale(1)}}.modal-head{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:1.25rem 1.5rem;display:flex}.modal-head h5{font-family:var(--font-display);color:var(--text-primary);font-size:1.25rem;font-weight:400}.modal-close-btn{background:var(--bg-surface);border:1px solid var(--border);width:32px;height:32px;color:var(--text-muted);cursor:pointer;border-radius:50%;justify-content:center;align-items:center;font-size:1.125rem;transition:all .2s;display:flex}.modal-close-btn:hover{background:var(--gold-pale);border-color:var(--border-gold);color:var(--gold)}.modal-body{flex-direction:column;gap:1rem;padding:1.5rem;display:flex}.modal-foot{border-top:1px solid var(--border);justify-content:flex-end;gap:.75rem;padding:1rem 1.5rem;display:flex}.form-group label{letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted);margin-bottom:.5rem;font-size:.7rem;font-weight:600;display:block}.form-group input,.form-group textarea{background:var(--bg-surface);border:1px solid var(--border);width:100%;font-family:var(--font-body);color:var(--text-primary);border-radius:10px;outline:none;padding:.75rem;font-size:.9rem;transition:border-color .2s,box-shadow .2s}.form-group input:focus,.form-group textarea:focus{border-color:var(--border-gold);box-shadow:0 0 0 3px var(--gold-pale);background:#fff}.form-group input:disabled{opacity:.5;cursor:not-allowed}.form-hint{color:var(--text-muted);margin-top:.25rem;font-size:.7rem}.form-row{grid-template-columns:1fr 1fr;gap:.875rem;display:grid}.modal-alert{border:1px solid var(--border-gold);color:var(--gold-deep);background:#b8912a14;border-radius:10px;align-items:center;gap:.625rem;padding:.75rem 1rem;font-size:.85rem;display:flex}.modal-alert i{color:var(--gold);font-size:1rem}.btn-modal-cancel{border:1px solid var(--border);color:var(--text-secondary);letter-spacing:.04em;text-transform:uppercase;cursor:pointer;background:0 0;border-radius:8px;padding:.625rem 1.25rem;font-size:.8rem;font-weight:600;transition:all .2s}.btn-modal-cancel:hover{border-color:var(--border-gold);color:var(--gold)}.btn-modal-submit{background:var(--gold-light);color:#1a1712;letter-spacing:.06em;text-transform:uppercase;cursor:pointer;box-shadow:0 2px 12px var(--gold-glow);border:none;border-radius:8px;align-items:center;gap:.5rem;padding:.625rem 1.5rem;font-size:.8rem;font-weight:700;transition:all .3s;display:inline-flex}.btn-modal-submit:hover:not(:disabled){background:var(--gold);box-shadow:var(--shadow-gold);transform:translateY(-1px)}.btn-modal-submit:disabled{opacity:.45;cursor:not-allowed}.btn-spinner{border:2px solid #1a171233;border-top-color:#1a1712;border-radius:50%;width:13px;height:13px;animation:.7s linear infinite spin;display:inline-block}.profile-picture-section{border-bottom:1px solid var(--border);margin-bottom:1rem;padding-bottom:1rem}.profile-picture-label{letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted);margin-bottom:.75rem;font-size:.7rem;font-weight:600;display:block}.profile-picture-container{flex-wrap:wrap;align-items:flex-start;gap:1rem;display:flex}.profile-picture-preview{background:var(--bg-surface);border:2px solid var(--border-gold);border-radius:50%;justify-content:center;align-items:center;width:80px;height:80px;display:flex;overflow:hidden}.profile-picture-preview img{object-fit:cover;width:100%;height:100%}.profile-picture-placeholder{background:linear-gradient(135deg,var(--bg-surface),var(--bg-alt));justify-content:center;align-items:center;width:100%;height:100%;display:flex}.profile-picture-placeholder i{color:var(--gold);font-size:2rem}.profile-picture-upload{flex:1}.btn-upload-image{background:var(--gold-light);color:#1a1712;cursor:pointer;border:none;border-radius:8px;align-items:center;gap:.5rem;margin-right:.5rem;padding:.5rem 1rem;font-size:.75rem;font-weight:600;transition:all .3s;display:inline-flex}.btn-upload-image:hover{background:var(--gold);transform:translateY(-1px)}.btn-remove-image{color:var(--accent-rose);border:1px solid var(--border);cursor:pointer;background:0 0;border-radius:8px;align-items:center;gap:.375rem;padding:.5rem 1rem;font-size:.75rem;font-weight:600;transition:all .3s;display:inline-flex}.btn-remove-image:hover{border-color:var(--accent-rose);background:#d94f6b1a}.profile-modal-wide{width:95%!important;max-width:800px!important}.modal-body-two-columns{grid-template-columns:260px 1fr;gap:2rem;padding:1.5rem;display:grid}.modal-left-column{flex-direction:column;display:flex}.profile-picture-section-large{text-align:center}.profile-picture-label-large{letter-spacing:.05em;text-transform:uppercase;color:var(--text-muted);margin-bottom:1rem;font-size:.8rem;font-weight:600;display:block}.profile-picture-container-large{flex-direction:column;align-items:center;gap:.875rem;display:flex}.profile-picture-preview-large{background:var(--bg-surface);border:3px solid var(--border-gold);width:150px;height:150px;box-shadow:var(--shadow-md);border-radius:50%;transition:transform .3s;overflow:hidden}.profile-picture-preview-large:hover{transform:scale(1.02)}.profile-picture-preview-large img{object-fit:cover;width:100%;height:100%}.profile-picture-placeholder-large{background:linear-gradient(135deg,var(--bg-surface),var(--bg-alt));justify-content:center;align-items:center;width:100%;height:100%;display:flex}.profile-picture-placeholder-large i{color:var(--gold);font-size:3.5rem}.profile-picture-actions{flex-wrap:wrap;justify-content:center;gap:.75rem;display:flex}.btn-upload-image-large{background:var(--gold-light);color:#1a1712;cursor:pointer;border:none;border-radius:8px;align-items:center;gap:.5rem;padding:.5rem 1.25rem;font-size:.8rem;font-weight:600;transition:all .3s;display:inline-flex}.btn-upload-image-large:hover{background:var(--gold);box-shadow:var(--shadow-sm);transform:translateY(-1px)}.btn-remove-image-large{color:var(--accent-rose);border:1px solid var(--border);cursor:pointer;background:0 0;border-radius:8px;align-items:center;gap:.375rem;padding:.5rem 1.25rem;font-size:.8rem;font-weight:600;transition:all .3s;display:inline-flex}.btn-remove-image-large:hover{border-color:var(--accent-rose);background:#d94f6b1a;transform:translateY(-1px)}.form-hint-large{color:var(--text-muted);justify-content:center;align-items:center;gap:.375rem;margin-top:.5rem;font-size:.7rem;display:flex}.form-hint-large i{font-size:.8rem}.modal-right-column{flex-direction:column;gap:1.25rem;display:flex}.upload-progress-wrapper{align-items:center;gap:.75rem;padding:0 1.5rem 1rem;display:flex}.upload-progress{background:var(--border);border-radius:5px;flex:1;height:5px;overflow:hidden}.upload-progress-bar{background:linear-gradient(90deg,var(--gold-light),var(--gold));border-radius:5px;height:100%;transition:width .3s}.upload-progress-text{color:var(--gold);font-size:.75rem;font-weight:600}@media (max-width:1024px){.profile-grid{grid-template-columns:1fr}}@media (max-width:768px){.profile-page{padding:1.5rem .75rem 4rem}.profile-header{flex-direction:column;align-items:flex-start}.btn-edit-profile{justify-content:center;width:100%}.wallet-stats{grid-template-columns:1fr 1fr}.modal-body-two-columns{grid-template-columns:1fr;gap:1.25rem;padding:1rem}.profile-picture-preview-large{width:120px;height:120px}.profile-picture-placeholder-large i{font-size:2.5rem}.form-row{grid-template-columns:1fr}.profile-modal{max-width:95%;margin:1rem}.profile-modal-wide{max-width:100%!important}.modal-foot{flex-direction:column-reverse}.btn-modal-cancel,.btn-modal-submit{justify-content:center;width:100%}.tx-description{max-width:140px}}@media (max-width:480px){.wallet-stats{grid-template-columns:1fr}.profile-card-body{padding:1.25rem}.stat-value{font-size:1.5rem}.profile-picture-preview-large{width:100px;height:100px}.profile-picture-placeholder-large i{font-size:2rem}.tx-table thead th,.tx-table td{padding:.5rem .75rem;font-size:.7rem}}
