/* ── Lunar Mint Studio — profile.css ──────────────────────────────
   Extracted & formatted from profile.html
────────────────────────────────────────────────────────────── */

*,
 *::before,
 *::after {
     box-sizing: border-box;
     margin: 0;
     padding: 0;

}

body {
     background: #020510;
     color: #e2e8f0;
     font-family: 'Outfit',
sans-serif;
     min-height: 100vh;

}

body::before {
     content: '';
     position: fixed;
     inset: -50%;
     z-index: -1;
     background: radial-gradient(ellipse 70% 50% at 20% 20%, rgba(127,252,255,0.06) 0%, transparent 60%),
radial-gradient(ellipse 50% 70% at 80% 80%, rgba(167,139,250,0.06) 0%, transparent 60%);

}


/* ── Topbar ────────────────────────── */
.topbar {
     display: flex;
     align-items: center;
     gap: 14px;
     padding: 0 28px;
     height: 64px;
     background: rgba(255,255,255,0.02);
     border-bottom: 1px solid rgba(127,252,255,0.07);
     backdrop-filter: blur(20px);
     position: sticky;
     top: 0;
     z-index: 100;

}

.topbar-logo {
     display: flex;
     align-items: center;
     gap: 8px;
     text-decoration: none;

}

.topbar-logo .moon {
     font-size: 20px;

}

.topbar-logo h1 {
     font-size: 17px;
     font-weight: 800;
     color: white;

}

.topbar-logo h1 span {
     background: linear-gradient(135deg, #7ffcff, #a78bfa);
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     background-clip: text;

}

.topbar-spacer {
     flex: 1;

}

.btn-back {
     display: inline-flex;
     align-items: center;
     gap: 7px;
     padding: 8px 16px;
     background: rgba(255,255,255,0.04);
     border: 1px solid rgba(255,255,255,0.08);
     border-radius: 10px;
     color: rgba(255,255,255,0.55);
     font-family: 'Outfit',
sans-serif;
     font-size: 13px;
     font-weight: 600;
     text-decoration: none;
     transition: all .2s;

}

.btn-back:hover {
     background: rgba(255,255,255,0.08);
     color: white;

}


/* ── Page layout ───────────────────── */
.page {
     max-width: 720px;
     margin: 0 auto;
     padding: 40px 24px 80px;

}


/* ── Profile card ──────────────────── */
.profile-card {
     background: rgba(255,255,255,0.02);
     border: 1px solid rgba(127,252,255,0.1);
     border-radius: 20px;
     overflow: hidden;
     margin-bottom: 20px;

}


/* Banner */
.profile-banner {
     height: 110px;
     background: linear-gradient(135deg, rgba(127,252,255,0.12), rgba(167,139,250,0.18), rgba(127,252,255,0.08));
     position: relative;

}


/* Avatar row */
.profile-avatar-row {
     display: flex;
     align-items: flex-end;
     justify-content: space-between;
     padding: 0 24px;
     margin-top: -40px;
     margin-bottom: 16px;

}

.profile-avatar {
     width: 80px;
     height: 80px;
     border-radius: 50%;
     object-fit: cover;
     border: 3px solid #020510;
     background: #0a0f25;

}

.btn-edit-profile {
     display: inline-flex;
     align-items: center;
     gap: 7px;
     padding: 8px 16px;
     border-radius: 9px;
     background: rgba(255,255,255,0.05);
     border: 1px solid rgba(255,255,255,0.1);
     color: rgba(255,255,255,0.6);
     font-family: 'Outfit',
sans-serif;
     font-size: 12.5px;
     font-weight: 600;
     cursor: pointer;
     transition: all .2s;

}

.btn-edit-profile:hover {
     background: rgba(255,255,255,0.1);
     color: white;

}


/* Profile info */
.profile-info {
     padding: 0 24px 24px;

}

.profile-name {
     font-size: 22px;
     font-weight: 800;
     color: white;
     margin-bottom: 2px;

}

.profile-email {
     font-size: 13px;
     color: rgba(255,255,255,0.35);
     margin-bottom: 12px;

}

.profile-role-badge {
     display: inline-flex;
     align-items: center;
     gap: 6px;
     padding: 4px 12px;
     border-radius: 20px;
     font-size: 11.5px;
     font-weight: 700;
     letter-spacing: .3px;

}

.role-client {
     background: rgba(127,252,255,0.08);
     color: #7ffcff;
     border: 1px solid rgba(127,252,255,0.18);

}

.role-artist {
     background: rgba(167,139,250,0.1);
     color: #a78bfa;
     border: 1px solid rgba(167,139,250,0.25);

}


/* Stats */
.profile-stats {
     display: flex;
     gap: 24px;
     margin-top: 18px;
     padding-top: 18px;
     border-top: 1px solid rgba(255,255,255,0.05);

}

.stat-item .val {
     font-size: 20px;
     font-weight: 800;
     color: white;

}

.stat-item .lbl {
     font-size: 11px;
     color: rgba(255,255,255,0.35);
     margin-top: 1px;
     text-transform: uppercase;
     letter-spacing: .5px;

}


/* ── Sections ───────────────────────── */
.section-card {
     background: rgba(255,255,255,0.02);
     border: 1px solid rgba(127,252,255,0.07);
     border-radius: 18px;
     padding: 24px;
     margin-bottom: 16px;

}

.section-card h3 {
     font-size: 15px;
     font-weight: 700;
     color: white;
     margin-bottom: 18px;

}


/* Edit name form */
.form-group {
     margin-bottom: 14px;

}

.form-group label {
     display: block;
     font-size: 11px;
     color: rgba(255,255,255,0.4);
     margin-bottom: 5px;
     letter-spacing: .5px;
     text-transform: uppercase;

}

.form-group input {
     width: 100%;
     padding: 10px 13px;
     background: rgba(255,255,255,0.04);
     border: 1px solid rgba(255,255,255,0.08);
     border-radius: 10px;
     color: white;
     font-family: 'Outfit',
sans-serif;
     font-size: 13.5px;
     outline: none;
     transition: border-color .2s;

}

.form-group input:focus {
     border-color: rgba(127,252,255,0.3);

}

.form-group input::placeholder {
     color: rgba(255,255,255,0.2);

}

.btn-save {
     padding: 10px 22px;
     background: linear-gradient(135deg, rgba(127,252,255,0.12), rgba(167,139,250,0.12));
     border: 1px solid rgba(127,252,255,0.28);
     border-radius: 10px;
     color: #7ffcff;
     font-family: 'Outfit',
sans-serif;
     font-size: 13px;
     font-weight: 700;
     cursor: pointer;
     transition: all .2s;

}

.btn-save:hover {
     background: linear-gradient(135deg, rgba(127,252,255,0.2), rgba(167,139,250,0.2));

}

.btn-save:disabled {
     opacity: .45;
     cursor: not-allowed;

}

.save-msg {
     display: none;
     font-size: 12px;
     color: #4ade80;
     margin-top: 8px;

}

.save-msg.show {
     display: block;

}


/* ── Mulai Jual Card ────────────────── */
.sell-card {
     background: rgba(255,255,255,0.02);
     border: 1px solid rgba(167,139,250,0.2);
     border-radius: 18px;
     padding: 28px 24px;
     margin-bottom: 16px;
     position: relative;
     overflow: hidden;

}

.sell-card::before {
     content: '';
     position: absolute;
     inset: 0;
     z-index: 0;
     background: radial-gradient(ellipse 80% 100% at 90% 50%, rgba(167,139,250,0.06) 0%, transparent 70%);
     pointer-events: none;

}

.sell-card-inner {
     position: relative;
     z-index: 1;

}

.sell-card-top {
     display: flex;
     align-items: flex-start;
     justify-content: space-between;
     gap: 20px;

}

.sell-card-text h3 {
     font-size: 18px;
     font-weight: 800;
     color: white;
     margin-bottom: 6px;

}

.sell-card-text p {
     font-size: 13px;
     color: rgba(255,255,255,0.45);
     line-height: 1.6;
     max-width: 380px;

}

.sell-card-icon {
     font-size: 48px;
     flex-shrink: 0;

}

.sell-perks {
     display: flex;
     flex-wrap: wrap;
     gap: 8px;
     margin-top: 20px;

}

.sell-perk {
     display: inline-flex;
     align-items: center;
     gap: 6px;
     padding: 5px 12px;
     border-radius: 20px;
     background: rgba(167,139,250,0.08);
     border: 1px solid rgba(167,139,250,0.15);
     font-size: 12px;
     color: rgba(200,180,255,0.8);
     font-weight: 600;

}

.sell-perk i {
     color: #a78bfa;
     font-size: 11px;

}

.btn-mulai-jual {
     display: inline-flex;
     align-items: center;
     gap: 9px;
     margin-top: 22px;
     padding: 13px 28px;
     background: linear-gradient(135deg, rgba(167,139,250,0.2), rgba(127,252,255,0.12));
     border: 1px solid rgba(167,139,250,0.4);
     border-radius: 12px;
     color: #c4b5fd;
     font-family: 'Outfit',
sans-serif;
     font-size: 14px;
     font-weight: 800;
     cursor: pointer;
     transition: all .25s;
     letter-spacing: .3px;

}

.btn-mulai-jual:hover {
     background: linear-gradient(135deg, rgba(167,139,250,0.3), rgba(127,252,255,0.2));
     box-shadow: 0 4px 24px rgba(167,139,250,0.2);
     transform: translateY(-1px);

}

.btn-mulai-jual:disabled {
     opacity: .45;
     cursor: not-allowed;
     transform: none;

}


/* Already an artist state */
.artist-active-card {
     display: flex;
     align-items: center;
     gap: 16px;
     padding: 20px 24px;
     border-radius: 18px;
     background: rgba(167,139,250,0.07);
     border: 1px solid rgba(167,139,250,0.2);
     margin-bottom: 16px;

}

.artist-active-card .icon {
     font-size: 36px;
     flex-shrink: 0;

}

.artist-active-card h3 {
     font-size: 15px;
     font-weight: 700;
     color: white;
     margin-bottom: 4px;

}

.artist-active-card p {
     font-size: 12.5px;
     color: rgba(255,255,255,0.4);

}

.btn-go-panel {
     display: inline-flex;
     align-items: center;
     gap: 8px;
     margin-top: 12px;
     padding: 9px 18px;
     background: rgba(167,139,250,0.12);
     border: 1px solid rgba(167,139,250,0.3);
     border-radius: 10px;
     color: #a78bfa;
     font-family: 'Outfit',
sans-serif;
     font-size: 13px;
     font-weight: 700;
     text-decoration: none;
     transition: all .2s;

}

.btn-go-panel:hover {
     background: rgba(167,139,250,0.2);

}


/* Danger zone */
.danger-zone {
     border-color: rgba(239,68,68,0.15);

}

.danger-zone h3 {
     color: rgba(252,165,165,0.7);

}

.btn-logout-full {
     display: inline-flex;
     align-items: center;
     gap: 8px;
     padding: 10px 20px;
     background: rgba(239,68,68,0.08);
     border: 1px solid rgba(239,68,68,0.2);
     border-radius: 10px;
     color: #fca5a5;
     font-family: 'Outfit',
sans-serif;
     font-size: 13px;
     font-weight: 700;
     cursor: pointer;
     transition: all .2s;

}

.btn-logout-full:hover {
     background: rgba(239,68,68,0.16);

}


/* Loading */
#page-loading {
     position: fixed;
     inset: 0;
     z-index: 999;
     background: #020510;
     display: flex;
     align-items: center;
     justify-content: center;

}

#page-loading .spinner {
     width: 44px;
     height: 44px;
     border: 3px solid rgba(127,252,255,0.1);
     border-top-color: #7ffcff;
     border-radius: 50%;
     animation: spin .8s linear infinite;

}

 @keyframes spin {
     to {
         transform: rotate(360deg);

    }


}


/* Confirm modal */
.modal-overlay {
     display: none;
     position: fixed;
     inset: 0;
     z-index: 300;
     background: rgba(0,0,0,0.75);
     backdrop-filter: blur(6px);
     align-items: center;
     justify-content: center;

}

.modal-overlay.open {
     display: flex;

}

.modal-box {
     background: #0a0f25;
     border: 1px solid rgba(167,139,250,0.2);
     border-radius: 20px;
     padding: 32px;
     max-width: 400px;
     width: 90%;
     text-align: center;

}

.modal-box .modal-icon {
     font-size: 48px;
     margin-bottom: 16px;

}

.modal-box h3 {
     font-size: 20px;
     font-weight: 800;
     color: white;
     margin-bottom: 8px;

}

.modal-box p {
     font-size: 13.5px;
     color: rgba(255,255,255,0.45);
     line-height: 1.6;
     margin-bottom: 24px;

}

.modal-btn-row {
     display: flex;
     gap: 10px;

}

.btn-cancel {
     flex: 1;
     padding: 12px;
     border-radius: 10px;
     background: rgba(255,255,255,0.05);
     border: 1px solid rgba(255,255,255,0.1);
     color: rgba(255,255,255,0.5);
     font-family: 'Outfit',
sans-serif;
     font-size: 13px;
     font-weight: 600;
     cursor: pointer;
     transition: all .2s;

}

.btn-cancel:hover {
     background: rgba(255,255,255,0.1);

}

.btn-confirm {
     flex: 1;
     padding: 12px;
     border-radius: 10px;
     background: linear-gradient(135deg, rgba(167,139,250,0.2), rgba(127,252,255,0.12));
     border: 1px solid rgba(167,139,250,0.4);
     color: #c4b5fd;
     font-family: 'Outfit',
sans-serif;
     font-size: 13px;
     font-weight: 700;
     cursor: pointer;
     transition: all .2s;

}

.btn-confirm:hover {
     background: linear-gradient(135deg, rgba(167,139,250,0.3), rgba(127,252,255,0.2));

}

 @media (max-width: 600px) {
     .sell-card-top {
         flex-direction: column;

    }

     .sell-card-icon {
         display: none;

    }

     .profile-stats {
         gap: 16px;

    }


}


/* ── Edit Profile Modal ─────────── */
.ep-modal {
     display:none;
     position:fixed;
     inset:0;
     z-index:600;
     background:rgba(0,0,0,0.75);
     backdrop-filter:blur(8px);
     align-items:flex-end;
     justify-content:center;

}

.ep-modal.open {
     display:flex;

}

.ep-sheet {
     width:100%;
     max-width:480px;
     max-height:90vh;
     background:#0a0f25;
     border:1px solid rgba(127,252,255,0.12);
     border-radius:22px 22px 0 0;
     display:flex;
     flex-direction:column;
     animation:epUp .25s cubic-bezier(0.16,1,0.3,1);

}

 @keyframes epUp {
     from {
        transform:translateY(100%);
        opacity:0
    }

     to {
        transform:translateY(0);
        opacity:1
    }


}

.ep-handle {
     width:36px;
    height:4px;
    background:rgba(255,255,255,0.12);
    border-radius:4px;
    margin:10px auto 2px;
    flex-shrink:0
}

.ep-hdr {
     display:flex;
    align-items:center;
    justify-content:space-between;
    padding:10px 18px 14px;
    border-bottom:1px solid rgba(255,255,255,0.06);
    flex-shrink:0
}

.ep-hdr h3 {
     font-size:15px;
    font-weight:800;
    color:white
}

.ep-x {
     background:rgba(255,255,255,0.06);
    border:none;
    border-radius:7px;
    color:rgba(255,255,255,0.45);
    width:30px;
    height:30px;
    cursor:pointer;
    font-size:14px;
    display:flex;
    align-items:center;
    justify-content:center
}

.ep-prev {
     padding:14px 18px;
    background:rgba(127,252,255,0.02);
    border-bottom:1px solid rgba(255,255,255,0.05);
    display:flex;
    align-items:center;
    gap:12px;
    flex-shrink:0
}

.ep-prev-av {
     width:48px;
    height:48px;
    border-radius:50%;
    object-fit:cover;
    border:2px solid rgba(127,252,255,0.22);
    flex-shrink:0
}

.ep-prev-name {
     font-size:15px;
    font-weight:800;
    color:white
}

.ep-prev-un {
     font-size:12px;
    color:rgba(127,252,255,0.55);
    font-family:monospace;
    margin-top:1px
}

.ep-prev-bio {
     font-size:12px;
    color:rgba(255,255,255,0.4);
    margin-top:2px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    max-width:220px
}

.ep-body {
     overflow-y:auto;
    padding:18px;
    flex:1
}

.ep-body::-webkit-scrollbar {
    width:3px
}

.ep-body::-webkit-scrollbar-thumb {
    background:rgba(127,252,255,0.12);
    border-radius:3px
}

.ep-fg {
     margin-bottom:14px
}

.ep-fg label {
     display:block;
    font-size:10px;
    color:rgba(255,255,255,0.38);
    margin-bottom:5px;
    letter-spacing:.5px;
    text-transform:uppercase
}

.ep-fg input,
.ep-fg textarea {
     width:100%;
    padding:9px 12px;
    background:rgba(255,255,255,0.04);
    border:1px solid rgba(255,255,255,0.08);
    border-radius:9px;
    color:white;
    font-family:Outfit,
sans-serif;
    font-size:13px;
    outline:none;
    transition:border-color .2s;
    box-sizing:border-box
}

.ep-fg input:focus,
.ep-fg textarea:focus {
     border-color:rgba(127,252,255,0.28)
}

.ep-fg input::placeholder,
.ep-fg textarea::placeholder {
     color:rgba(255,255,255,0.18)
}

.ep-at {
     position:absolute;
    left:12px;
    top:50%;
    transform:translateY(-50%);
    color:rgba(127,252,255,0.4);
    font-weight:700;
    pointer-events:none;
    font-size:13px
}

.ep-hint {
     font-size:10px;
    color:rgba(255,255,255,0.2);
    margin-top:3px
}

.ep-ci {
     display:flex;
    gap:7px;
    margin-bottom:7px
}

.ep-ctag {
     display:flex;
    align-items:center;
    gap:6px;
    padding:5px 9px;
    background:rgba(255,255,255,0.04);
    border:1px solid rgba(255,255,255,0.07);
    border-radius:7px;
    margin-bottom:5px
}

.ep-ctag span {
     flex:1;
    font-size:12px;
    color:rgba(255,255,255,0.55);
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap
}

.ep-cdel {
     background:rgba(239,68,68,0.1);
    border:none;
    border-radius:5px;
    color:#fca5a5;
    width:22px;
    height:22px;
    cursor:pointer;
    font-size:10px;
    flex-shrink:0
}

.ep-foot {
     padding:14px 18px;
    border-top:1px solid rgba(255,255,255,0.06);
    flex-shrink:0
}

.ep-save {
     width:100%;
    padding:12px;
    background:linear-gradient(135deg,rgba(127,252,255,0.13),rgba(167,139,250,0.13));
    border:1px solid rgba(127,252,255,0.28);
    border-radius:11px;
    color:#7ffcff;
    font-family:Outfit,
sans-serif;
    font-size:14px;
    font-weight:700;
    cursor:pointer;
    transition:all .2s
}

.ep-save:disabled {
    opacity:.4;
    cursor:not-allowed
}

.ep-st {
     font-size:12px;
    text-align:center;
    margin-top:7px;
    min-height:16px
}
