/* ==========================================
   CYBERMUSE — MY ACCOUNT
========================================== */

*{
margin:0;
padding:0;
box-sizing:border-box;
}

:root{
--black:#080808;
--dark:#17141c;
--violet:#8d76ff;
--gold:#d4af37;
--champagne:#eadfcf;
--white:#fff;
--muted:rgba(255,255,255,.65);
--line:rgba(255,255,255,.12);
}

body{
min-height:100vh;
font-family:'Poppins',sans-serif;
color:white;
background:
linear-gradient(135deg,rgba(7,7,10,.94),rgba(20,15,25,.91),rgba(45,38,36,.88)),
url("../assets/images/cybermuse-bg.jpg");
background-size:cover;
background-position:center;
background-attachment:fixed;
}

a{
color:inherit;
text-decoration:none;
}

button,input,textarea{
font:inherit;
}

/* GLOW */

.glow{
position:fixed;
border-radius:50%;
filter:blur(130px);
pointer-events:none;
z-index:-1;
}

.glowViolet{
width:400px;
height:400px;
background:rgba(141,118,255,.2);
top:-150px;
left:-120px;
}

.glowGold{
width:450px;
height:450px;
background:rgba(212,175,55,.14);
right:-160px;
bottom:-160px;
}

/* HEADER */

.accountHeader{
height:80px;
padding:0 6%;
display:flex;
align-items:center;
justify-content:space-between;
position:sticky;
top:0;
z-index:100;
background:rgba(8,7,12,.94);
backdrop-filter:blur(18px);
border-bottom:1px solid var(--line);
}

.brand{
display:flex;
align-items:center;
gap:7px;
font-family:'Space Grotesk',sans-serif;
font-weight:700;
letter-spacing:4px;
}

.brand img{
width:52px;
height:52px;
object-fit:contain;
}

.headerActions{
display:flex;
align-items:center;
gap:12px;
}

.homeLink,
.logoutBtn{
padding:11px 16px;
border:1px solid var(--line);
background:rgba(255,255,255,.05);
color:white;
font-size:.68rem;
letter-spacing:1.5px;
text-transform:uppercase;
cursor:pointer;
}

/* PAGE */

.accountPage{
width:min(1100px,94%);
margin:auto;
padding:65px 0 90px;
}

.smallTitle{
font-size:.65rem;
font-weight:600;
letter-spacing:4px;
text-transform:uppercase;
color:#f5d98d;
margin-bottom:10px;
}

/* LOADING / EMPTY */

.accountLoading,
.emptyAccount{
min-height:65vh;
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
text-align:center;
gap:18px;
}

.loader{
width:42px;
height:42px;
border:3px solid rgba(255,255,255,.15);
border-top-color:var(--champagne);
border-radius:50%;
animation:spin .8s linear infinite;
}

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

.emptyAccount h1{
font-family:'Space Grotesk',sans-serif;
font-size:clamp(2.5rem,7vw,5rem);
text-transform:uppercase;
}

/* INTRO */

.accountIntro{
display:flex;
align-items:flex-end;
justify-content:space-between;
gap:30px;
margin-bottom:35px;
}

.accountIntro h1{
font-family:'Space Grotesk',sans-serif;
font-size:clamp(3rem,8vw,6rem);
line-height:.9;
text-transform:uppercase;
letter-spacing:-3px;
}

.accountIntro > div > p:last-child{
margin-top:15px;
color:var(--muted);
}

.verificationBadge{
padding:12px 18px;
border:1px solid rgba(245,217,141,.35);
background:rgba(212,175,55,.1);
color:#f5d98d;
font-size:.68rem;
font-weight:600;
letter-spacing:2px;
text-transform:uppercase;
white-space:nowrap;
}

.verificationBadge.verified,
.verificationBadge.approved{
color:#9cf0b4;
border-color:rgba(100,220,140,.3);
background:rgba(80,200,120,.08);
}

.verificationBadge.rejected{
color:#ff9aad;
border-color:rgba(255,100,130,.3);
}

/* CARDS */

.accountCard{
margin-bottom:22px;
padding:35px;
background:rgba(255,255,255,.065);
border:1px solid var(--line);
backdrop-filter:blur(20px);
}

.cardHeading{
display:flex;
align-items:center;
justify-content:space-between;
gap:20px;
margin-bottom:28px;
}

.cardHeading h2{
font-family:'Space Grotesk',sans-serif;
font-size:1.8rem;
text-transform:uppercase;
}

.cardHeading > span{
font-size:.65rem;
letter-spacing:2px;
text-transform:uppercase;
color:var(--muted);
}

/* PROFILE GALLERY */

.profileGallery{
display:flex;
overflow-x:auto;
scroll-snap-type:x mandatory;
scrollbar-width:none;
gap:12px;
}

.profileGallery::-webkit-scrollbar{
display:none;
}

.profileSlide{
min-width:100%;
height:620px;
scroll-snap-align:start;
overflow:hidden;
background:#111;
}

.profileSlide img{
width:100%;
height:100%;
object-fit:cover;
}

.galleryDots{
display:flex;
justify-content:center;
gap:7px;
margin-top:16px;
}

.galleryDots button{
width:7px;
height:7px;
padding:0;
border:0;
border-radius:50%;
background:rgba(255,255,255,.25);
}

.galleryDots button.active{
background:var(--champagne);
transform:scale(1.35);
}

/* DETAILS */

.detailsGrid{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:12px;
}

.detailItem{
padding:18px;
background:rgba(255,255,255,.035);
border:1px solid rgba(255,255,255,.08);
}

.detailItem span{
display:block;
margin-bottom:7px;
font-size:.62rem;
letter-spacing:2px;
text-transform:uppercase;
color:var(--muted);
}

.detailItem strong,
.detailItem p,
.detailItem a{
font-size:.9rem;
line-height:1.7;
}

.fullWidth{
grid-column:1/-1;
}

/* PRIVATE */

.privateLabel{
color:#f5d98d !important;
}

.privacyNotice{
padding:16px 18px;
margin-bottom:20px;
border-left:3px solid var(--gold);
background:rgba(212,175,55,.08);
color:var(--muted);
font-size:.82rem;
line-height:1.7;
}

.nationalIdGrid{
display:grid;
grid-template-columns:1fr 1fr;
gap:15px;
margin-top:20px;
}

.idCard{
padding:15px;
border:1px solid var(--line);
background:rgba(0,0,0,.2);
}

.idCard span{
display:block;
margin-bottom:12px;
font-size:.65rem;
letter-spacing:2px;
text-transform:uppercase;
color:var(--muted);
}

.idCard img{
width:100%;
max-height:300px;
object-fit:contain;
}

/* VERIFICATION */

.verificationPanel{
display:flex;
align-items:center;
gap:20px;
padding:22px;
background:rgba(255,255,255,.035);
}

.statusIcon{
width:55px;
height:55px;
display:grid;
place-items:center;
flex-shrink:0;
background:var(--champagne);
color:#111;
font-size:1.4rem;
}

.verificationPanel h3{
font-family:'Space Grotesk',sans-serif;
font-size:1.2rem;
text-transform:uppercase;
}

.verificationPanel p{
margin-top:7px;
color:var(--muted);
font-size:.85rem;
line-height:1.7;
}

.verificationNote{
margin-top:15px;
padding:15px;
border:1px solid var(--line);
}

/* BUTTONS */

.primaryBtn,
.outlineBtn{
min-height:50px;
display:inline-flex;
align-items:center;
justify-content:center;
padding:0 22px;
font-size:.68rem;
font-weight:700;
letter-spacing:2px;
text-transform:uppercase;
cursor:pointer;
}

.primaryBtn{
border:1px solid white;
background:white;
color:#111;
}

.outlineBtn{
border:1px solid var(--line);
background:transparent;
color:white;
}

/* MEDIA UPLOAD */

.sectionText{
margin-bottom:22px;
color:var(--muted);
line-height:1.7;
font-size:.9rem;
}

.mediaDropZone{
min-height:170px;
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
gap:8px;
border:1px dashed rgba(255,255,255,.3);
background:rgba(255,255,255,.035);
cursor:pointer;
}

.uploadIcon{
font-size:2rem;
color:var(--champagne);
}

.mediaDropZone strong{
text-transform:uppercase;
letter-spacing:1px;
}

.mediaDropZone small{
color:var(--muted);
}

.mediaPreviewGrid,
.portfolioGrid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:12px;
margin-top:18px;
}

.mediaPreviewCard{
position:relative;
height:250px;
overflow:hidden;
}

.mediaPreviewCard img,
.mediaPreviewCard video{
width:100%;
height:100%;
object-fit:cover;
}

.mediaPreviewCard button{
position:absolute;
top:8px;
right:8px;
width:34px;
height:34px;
border:0;
background:rgba(0,0,0,.75);
color:white;
font-size:1.2rem;
cursor:pointer;
}

.inputGroup{
margin:20px 0;
}

.inputGroup label{
display:block;
margin-bottom:8px;
font-size:.65rem;
letter-spacing:2px;
text-transform:uppercase;
}

.inputGroup textarea{
width:100%;
min-height:100px;
padding:15px;
resize:vertical;
outline:none;
border:1px solid var(--line);
background:rgba(255,255,255,.05);
color:white;
}

.inputGroup textarea:focus{
border-color:var(--champagne);
}

.uploadProgress{
display:none;
height:4px;
margin-top:15px;
background:rgba(255,255,255,.1);
}

#uploadProgressBar{
width:0;
height:100%;
background:var(--champagne);
transition:.3s;
}

.uploadStatus{
margin-top:12px;
font-size:.8rem;
color:var(--muted);
}

/* PORTFOLIO */

.portfolioItem{
overflow:hidden;
background:#111;
border:1px solid var(--line);
}

.portfolioItem img,
.portfolioItem video{
width:100%;
height:330px;
object-fit:cover;
}

.portfolioInfo{
padding:14px;
}

.portfolioInfo p{
font-size:.8rem;
line-height:1.6;
color:var(--muted);
}

.deleteMediaBtn{
margin-top:12px;
border:0;
background:transparent;
color:#ff9aad;
font-size:.65rem;
letter-spacing:1.5px;
text-transform:uppercase;
cursor:pointer;
}

.emptyPortfolio{
padding:35px 0;
text-align:center;
color:var(--muted);
}

/* MOBILE */

@media(max-width:700px){

body{
background-attachment:scroll;
}

.accountHeader{
height:72px;
padding:0 18px;
}

.brand{
font-size:.85rem;
letter-spacing:3px;
}

.brand img{
width:44px;
height:44px;
}

.headerActions{
max-width:70vw;
overflow-x:auto;
white-space:nowrap;
-webkit-overflow-scrolling:touch;
scrollbar-width:none;
}
.headerActions::-webkit-scrollbar{display:none;}
.homeLink{
display:inline-flex;
flex:0 0 auto;
}

.accountPage{
width:auto;
padding:45px 16px 70px;
}

.accountIntro{
display:block;
}

.accountIntro h1{
font-size:3.2rem;
}

.verificationBadge{
display:inline-block;
margin-top:22px;
}

.accountCard{
padding:22px 16px;
}

.cardHeading{
align-items:flex-start;
}

.cardHeading h2{
font-size:1.45rem;
}

.profileSlide{
height:500px;
}

.detailsGrid,
.nationalIdGrid{
grid-template-columns:1fr;
}

.fullWidth{
grid-column:auto;
}

.mediaPreviewGrid,
.portfolioGrid{
grid-template-columns:repeat(2,1fr);
}

.mediaPreviewCard{
height:210px;
}

.portfolioItem img,
.portfolioItem video{
height:250px;
}

.verificationPanel{
align-items:flex-start;
}

}

@media(max-width:420px){

.accountIntro h1{
font-size:2.8rem;
}

.profileSlide{
height:450px;
}

.mediaPreviewGrid,
.portfolioGrid{
grid-template-columns:1fr 1fr;
gap:8px;
}

.portfolioItem img,
.portfolioItem video{
height:220px;
}

}
/* ==========================================
   EDIT PROFILE FORM
========================================== */

#editProfileForm .detailsGrid{
display:grid;
grid-template-columns:repeat(2,minmax(0,1fr));
gap:20px;
}

#editProfileForm .inputGroup{
margin:0;
display:flex;
flex-direction:column;
gap:9px;
}

#editProfileForm .fullWidth{
grid-column:1 / -1;
}

#editProfileForm .inputGroup label{
margin:0;
font-size:.66rem;
font-weight:600;
letter-spacing:2px;
text-transform:uppercase;
color:rgba(255,255,255,.75);
}

#editProfileForm input,
#editProfileForm select,
#editProfileForm textarea{
width:100%;
border:1px solid rgba(255,255,255,.14);
border-radius:0;
outline:none;
background:rgba(255,255,255,.055);
color:#fff;
transition:.25s;
}

#editProfileForm input,
#editProfileForm select{
height:55px;
padding:0 16px;
}

#editProfileForm textarea{
min-height:150px;
padding:16px;
resize:vertical;
line-height:1.7;
}

#editProfileForm input::placeholder,
#editProfileForm textarea::placeholder{
color:rgba(255,255,255,.32);
}

#editProfileForm input:focus,
#editProfileForm select:focus,
#editProfileForm textarea:focus{
border-color:var(--champagne);
background:rgba(255,255,255,.085);
}

#editProfileForm select{
appearance:none;
padding-right:44px;

background-image:
linear-gradient(
45deg,
transparent 50%,
rgba(255,255,255,.7) 50%
),
linear-gradient(
135deg,
rgba(255,255,255,.7) 50%,
transparent 50%
);

background-position:
calc(100% - 19px) 24px,
calc(100% - 13px) 24px;

background-size:6px 6px;
background-repeat:no-repeat;
}

#editProfileForm select option{
background:#17141c;
color:#fff;
}

#editProfileForm small{
font-size:.65rem;
line-height:1.6;
color:rgba(255,255,255,.48);
}

#editProfileForm .primaryBtn{
width:100%;
min-height:58px;
}

@media(max-width:700px){

#editProfileForm .detailsGrid{
grid-template-columns:1fr;
gap:24px;
}

#editProfileForm .fullWidth{
grid-column:auto;
}

#editProfileForm input,
#editProfileForm select{
height:54px;
}

}
/* ==========================================
   VERIFICATION + APPOINTMENTS ROW
========================================== */

.accountStatusRow{

    width:100%;

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:16px;

    margin-top:28px;

}


/* keep verification on left */

.accountStatusRow .verificationBadge{

    margin:0;

    flex-shrink:0;

}


/* appointments on far right */

.appointmentsBtn{

    margin-left:auto;

    min-height:70px;

    padding:0 24px;

    display:flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    border:1px solid rgba(212,175,55,.42);

    background:
    linear-gradient(
        135deg,
        rgba(212,175,55,.10),
        rgba(255,255,255,.025)
    );

    color:#f1d98e;

    text-decoration:none;

    font-family:'Space Grotesk',sans-serif;

    font-size:12px;

    font-weight:600;

    letter-spacing:2px;

    white-space:nowrap;

    transition:
    background .25s ease,
    border-color .25s ease,
    transform .25s ease;

}


.appointmentsIcon{

    font-size:20px;

    line-height:1;

}


.appointmentsBtn:active{

    transform:scale(.97);

}


/* ==========================================
   MOBILE
========================================== */

@media(max-width:600px){

    .accountStatusRow{

        gap:10px;

    }


    .accountStatusRow .verificationBadge{

        min-height:60px;

        padding-left:20px;

        padding-right:20px;

    }


    .appointmentsBtn{

        min-height:60px;

        padding:0 16px;

        font-size:10px;

        letter-spacing:1.3px;

    }


    .appointmentsIcon{

        font-size:17px;

    }

}

/* ==========================================
   MY ACCOUNT — MOBILE ACTION VISIBILITY
   Keep every header/status action reachable by horizontal scroll.
========================================== */
@media (max-width:700px){
  .accountHeader{width:100%;min-width:0;gap:10px;padding:0 10px;overflow:hidden;}
  .accountHeader .brand{flex:0 0 auto;max-width:38vw;min-width:0;}
  .accountHeader .brand span{white-space:nowrap;font-size:clamp(.66rem,3.1vw,.82rem);letter-spacing:clamp(1.5px,.8vw,3px);}
  .accountHeader .brand img{width:34px;height:34px;flex:0 0 34px;}
  .headerActions{flex:1 1 auto;width:auto;max-width:none;min-width:0;display:flex;align-items:center;gap:8px;overflow-x:auto;overflow-y:hidden;white-space:nowrap;padding:6px 2px;scroll-behavior:smooth;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;scrollbar-width:thin;}
  .headerActions > a,.headerActions > button{display:inline-flex !important;visibility:visible !important;opacity:1 !important;flex:0 0 auto;scroll-snap-align:start;min-height:38px;padding:8px 11px;white-space:nowrap;}
  .accountIntro{min-width:0;overflow:visible;}
  .accountStatusRow{width:100%;max-width:100%;display:flex;justify-content:flex-start;align-items:center;gap:9px;overflow-x:auto;overflow-y:hidden;white-space:nowrap;padding:4px 2px 10px;scroll-behavior:smooth;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;scrollbar-width:thin;}
  .accountStatusRow > *{flex:0 0 auto !important;min-width:max-content;scroll-snap-align:start;margin-left:0 !important;display:inline-flex !important;visibility:visible !important;opacity:1 !important;}
  .accountStatusRow .verificationBadge{min-height:48px;align-items:center;padding:0 14px;}
  .accountStatusRow .appointmentsBtn{min-height:48px;padding:0 14px;}
  .fantasyCornerBtn{display:inline-flex !important;flex:0 0 auto !important;}
  .accountPage{overflow:visible;}
}
@media (max-width:420px){
  .accountHeader .brand{max-width:35vw;}
  .accountHeader .brand span{font-size:.62rem;letter-spacing:1.4px;}
  .accountHeader .brand img{width:30px;height:30px;flex-basis:30px;}
  .headerActions > a,.headerActions > button{font-size:.59rem;letter-spacing:.8px;padding:7px 9px;}
  .accountStatusRow .appointmentsBtn,.accountStatusRow .verificationBadge{min-height:46px;font-size:9px;letter-spacing:1px;}
}
