/* ==========================================
   AMORA — 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.webp");
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;}
}

.accountNotificationsCard{border-color:rgba(214,182,255,.34)!important;box-shadow:0 0 0 1px rgba(214,182,255,.05),0 18px 48px rgba(0,0,0,.18)}
.accountNotificationStrip{display:flex;gap:10px;width:100%;overflow-x:auto;overflow-y:hidden;padding:3px 2px 10px;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;scrollbar-width:thin}
.accountNotificationItem{flex:0 0 min(360px,86vw);min-height:112px;padding:14px;border:1px solid rgba(255,255,255,.12);border-radius:13px;background:rgba(255,255,255,.045);scroll-snap-align:start}
.accountNotificationItem.blocked{border-color:rgba(255,179,102,.45);background:rgba(120,66,20,.14)}
.accountNotificationItem strong{display:block;margin-bottom:7px;font-size:.82rem;letter-spacing:.04em}
.accountNotificationItem p{margin:0;color:rgba(255,255,255,.8);line-height:1.45;font-size:.82rem}
.accountNotificationItem time{display:block;margin-top:9px;color:rgba(255,255,255,.46);font-size:.7rem}
.accountNotificationEmpty{color:rgba(255,255,255,.55);padding:10px 2px}

/* Requested profile-picture editing controls */
.profilePictureEdit{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:18px;padding-top:16px;border-top:1px solid rgba(255,255,255,.1)}.profilePictureEdit span{color:rgba(255,255,255,.62);font-size:.78rem;line-height:1.5;flex:1;min-width:220px}.profilePictureEdit .outlineBtn:disabled{opacity:.55;cursor:wait}


/* 2026-09-17 FEED-STYLE UI UNIFICATION — presentation only */
:root{
  --black:#0b0910;
  --dark:#151218;
  --champagne:#eadfcf;
  --white:#fff;
  --muted:rgba(255,255,255,.62);
  --line:rgba(255,255,255,.11);
}
body{
  background:linear-gradient(180deg,#0b0910 0%,#100d12 100%)!important;
  background-attachment:scroll!important;
}
.glow{display:none!important}
.accountHeader{
  height:62px!important;
  padding:0 clamp(12px,2.5vw,30px)!important;
  gap:14px!important;
  background:rgba(11,9,16,.97)!important;
  border-bottom:1px solid rgba(255,255,255,.1)!important;
  backdrop-filter:blur(16px)!important;
}
.accountHeader .brand{
  flex:0 0 auto!important;
  gap:0!important;
  font:700 .72rem/1 'Space Grotesk',sans-serif!important;
  letter-spacing:3px!important;
  white-space:nowrap!important;
}
.accountHeader .brand img{display:none!important}
.headerActions{
  min-width:0!important;
  flex:1 1 auto!important;
  justify-content:flex-end!important;
  gap:6px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scrollbar-width:none!important;
  -webkit-overflow-scrolling:touch!important;
}
.headerActions::-webkit-scrollbar{display:none!important}
.homeLink,.logoutBtn{
  flex:0 0 auto!important;
  min-height:32px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0 10px!important;
  border:1px solid rgba(234,223,207,.2)!important;
  border-radius:5px!important;
  background:linear-gradient(180deg,rgba(35,28,33,.92),rgba(16,13,17,.96))!important;
  color:#f5f0e8!important;
  font:700 .59rem/1 Poppins,sans-serif!important;
  letter-spacing:.35px!important;
  text-transform:uppercase!important;
  box-shadow:none!important;
}
.homeLink:hover,.homeLink:focus,.logoutBtn:hover,.logoutBtn:focus{
  border-color:rgba(234,223,207,.48)!important;
  background:#211b20!important;
}
.fantasyCornerNav{border-color:rgba(234,223,207,.3)!important;box-shadow:none!important}
.accountPage{
  width:min(1180px,calc(100% - 28px))!important;
  padding:38px 0 72px!important;
}
.accountIntro{
  align-items:flex-end!important;
  gap:20px!important;
  margin-bottom:20px!important;
  padding:18px 0 6px!important;
}
.accountIntro h1{
  font-size:clamp(2.4rem,6vw,4.6rem)!important;
  letter-spacing:-2px!important;
  text-transform:none!important;
}
.smallTitle{font-size:.59rem!important;letter-spacing:3px!important;color:#e6c878!important}
.accountStatusRow{gap:8px!important;margin-top:18px!important;justify-content:flex-start!important}
.verificationBadge,.appointmentsBtn{
  min-height:42px!important;
  padding:0 13px!important;
  border-radius:5px!important;
  font:700 .58rem/1 'Space Grotesk',sans-serif!important;
  letter-spacing:1px!important;
}
.appointmentsBtn{margin-left:0!important;background:#171419!important;color:#eadfcf!important;border-color:rgba(234,223,207,.22)!important}
.fantasyCornerBtn{background:#21151b!important;color:#f7e9df!important;border-color:rgba(210,94,117,.38)!important}
.accountCard{
  margin-bottom:14px!important;
  padding:24px!important;
  border:1px solid rgba(255,255,255,.1)!important;
  border-radius:0!important;
  background:#151218!important;
  backdrop-filter:none!important;
  box-shadow:none!important;
}
.cardHeading{margin-bottom:20px!important}
.cardHeading h2{font-size:1.25rem!important;text-transform:none!important;letter-spacing:-.2px!important}
.detailItem,.idCard{
  background:#19161c!important;
  border:1px solid rgba(255,255,255,.085)!important;
  border-radius:0!important;
}
.outlineBtn,.primaryBtn{
  min-height:38px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:5px!important;
  padding:0 12px!important;
  font:700 .62rem/1 Poppins,sans-serif!important;
  letter-spacing:.35px!important;
}
.outlineBtn{border:1px solid rgba(234,223,207,.24)!important;background:#171419!important;color:#eadfcf!important}
.primaryBtn{border:1px solid #eadfcf!important;background:#eadfcf!important;color:#17110e!important}
.accountNotificationItem{border-radius:5px!important;background:#19161c!important}
#editProfileForm input,#editProfileForm select,#editProfileForm textarea{
  border-radius:5px!important;
  background:#18151b!important;
  border-color:rgba(255,255,255,.12)!important;
}
@media(max-width:700px){
  .accountHeader{height:58px!important;padding:0 10px!important;overflow:hidden!important}
  .accountHeader .brand{max-width:none!important}
  .accountHeader .brand span{font-size:.63rem!important;letter-spacing:2px!important}
  .headerActions{gap:5px!important;padding:5px 0!important;scrollbar-width:none!important}
  .headerActions > a,.headerActions > button{min-height:31px!important;padding:0 9px!important;font-size:.54rem!important;letter-spacing:.25px!important}
  .accountPage{width:calc(100% - 24px)!important;padding:25px 0 58px!important}
  .accountIntro{display:block!important;padding-top:8px!important}
  .accountIntro h1{font-size:2.45rem!important;line-height:1!important}
  .accountStatusRow{margin-top:16px!important;padding-bottom:7px!important}
  .accountStatusRow .appointmentsBtn,.accountStatusRow .verificationBadge{min-height:38px!important;padding:0 11px!important;font-size:.54rem!important}
  .accountCard{padding:18px!important}
  .profileSlide{height:min(72vh,520px)!important}
}

/* 2026-09-17 restored, swipeable account navigation */
.accountHeader{gap:18px;overflow:hidden}.headerActions{display:flex!important;align-items:center;gap:8px;flex-wrap:nowrap!important;overflow-x:auto;overflow-y:hidden;max-width:min(76vw,1050px);padding:6px 2px 8px;scrollbar-width:thin;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch}.headerActions>*{flex:0 0 auto;scroll-snap-align:start}.homeLink,.logoutBtn{min-height:38px!important;padding:9px 13px!important;border-radius:9px!important;border:1px solid rgba(234,223,207,.2)!important;background:rgba(255,255,255,.035)!important;color:#fff!important;font-size:.72rem!important;font-weight:700!important;letter-spacing:.02em!important;box-shadow:none!important}.homeLink:hover,.logoutBtn:hover{background:rgba(234,223,207,.11)!important;border-color:rgba(234,223,207,.42)!important}.accountCard{border-color:rgba(255,255,255,.11)!important;background:linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.022))!important}.brand img{display:none!important}
@media(max-width:760px){.accountHeader{padding:10px 12px!important;align-items:center!important}.accountHeader .brand{flex:0 0 auto}.headerActions{max-width:calc(100vw - 150px);gap:6px;padding:3px 0 6px}.homeLink,.logoutBtn{min-height:34px!important;padding:8px 10px!important;font-size:.66rem!important}.accountPage{padding-top:24px!important}}


/* 2026-09-17 preserve every legacy My Account destination; swipe/scroll on all viewports */
.accountHeader{overflow:hidden!important}
.headerActions{display:flex!important;align-items:center!important;justify-content:flex-start!important;flex:1 1 auto!important;min-width:0!important;max-width:none!important;overflow-x:auto!important;overflow-y:hidden!important;white-space:nowrap!important;flex-wrap:nowrap!important;scroll-behavior:smooth!important;scroll-snap-type:x proximity!important;-webkit-overflow-scrolling:touch!important;padding:6px 2px 8px!important}
.headerActions>*{flex:0 0 auto!important;scroll-snap-align:start!important}
@media(min-width:761px){.headerActions{max-width:calc(100vw - 210px)!important}}
@media(max-width:760px){.headerActions{max-width:calc(100vw - 126px)!important}.accountHeader .brand{flex:0 0 auto!important}}

/* 2026-09-17 FIX: keep private-profile gallery indicators as true small dots.
   Strong overrides prevent shared/global button styles from stretching them on mobile. */
.galleryDots > button{
  width:7px !important;
  min-width:7px !important;
  max-width:7px !important;
  height:7px !important;
  min-height:7px !important;
  max-height:7px !important;
  padding:0 !important;
  margin:0 !important;
  border:0 !important;
  border-radius:50% !important;
  display:block !important;
  flex:0 0 7px !important;
  line-height:0 !important;
  font-size:0 !important;
  appearance:none !important;
  -webkit-appearance:none !important;
  box-shadow:none !important;
  background:rgba(255,255,255,.25) !important;
}
.galleryDots > button.active{
  background:var(--champagne) !important;
  transform:scale(1.35) !important;
}


/* ==========================================
   2026-09-24 CARELINK-INSPIRED VISUAL POLISH
   Design language only — AMORA colours and controls preserved
========================================== */

/* Softer premium page rhythm */
.accountPage{
  width:min(1120px,calc(100% - 32px));
  padding:48px 0 96px;
}

/* Glossy/sticky header treatment without changing navigation */
.accountHeader{
  min-height:78px;
  height:auto;
  padding:12px 4%;
  background:rgba(8,7,12,.88);
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
  border-bottom:1px solid rgba(255,255,255,.10);
  box-shadow:0 10px 30px rgba(0,0,0,.18);
}

.headerActions{gap:9px;}
.homeLink,.logoutBtn,.appointmentsBtn{
  border-radius:14px;
  transition:transform .22s ease,border-color .22s ease,background .22s ease,box-shadow .22s ease;
}
.homeLink,.logoutBtn{
  background:rgba(255,255,255,.045);
  box-shadow:0 8px 22px rgba(0,0,0,.12);
}
.homeLink:hover,.logoutBtn:hover,.appointmentsBtn:hover{
  transform:translateY(-2px);
  border-color:rgba(234,223,207,.38);
  box-shadow:0 12px 26px rgba(0,0,0,.18);
}

/* Intro gets CareLink-like contained hero/card feel */
.accountIntro{
  position:relative;
  overflow:hidden;
  align-items:center;
  margin-bottom:24px;
  padding:30px 30px;
  border:1px solid var(--line);
  border-radius:28px;
  background:linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.035));
  box-shadow:0 18px 48px rgba(0,0,0,.22);
  backdrop-filter:blur(20px);
}
.accountIntro::before{
  content:"";
  position:absolute;
  width:210px;
  height:210px;
  right:-90px;
  top:-110px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(141,118,255,.18),transparent 68%);
  pointer-events:none;
}
.accountIntro h1{
  position:relative;
  z-index:1;
  font-size:clamp(2.7rem,7vw,5.3rem);
  letter-spacing:-2.5px;
}
.accountStatusRow{position:relative;z-index:1;}
.verificationBadge,.appointmentsBtn{
  border-radius:999px;
  box-shadow:0 9px 24px rgba(0,0,0,.12);
}

/* CareLink-inspired rounded premium cards */
.accountCard{
  margin-bottom:22px;
  padding:30px;
  border-radius:26px;
  background:linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.045));
  border:1px solid rgba(255,255,255,.11);
  box-shadow:0 18px 45px rgba(0,0,0,.18);
  backdrop-filter:blur(20px);
  overflow:hidden;
}
.cardHeading{margin-bottom:24px;}
.cardHeading h2{letter-spacing:-.4px;}

/* Rounded internal surfaces */
.detailItem,.idCard,.verificationPanel,.verificationNote,.privacyNotice,.mediaDropZone,.portfolioItem{
  border-radius:18px;
}
.detailItem{
  padding:18px 19px;
  background:rgba(255,255,255,.045);
  box-shadow:0 10px 24px rgba(0,0,0,.10);
}
.idCard{
  background:rgba(0,0,0,.18);
  overflow:hidden;
}
.verificationPanel{
  background:rgba(255,255,255,.045);
  box-shadow:0 10px 26px rgba(0,0,0,.10);
}
.statusIcon{border-radius:17px;}
.privacyNotice{
  border-left:1px solid rgba(212,175,55,.35);
  box-shadow:inset 4px 0 0 var(--gold);
}

/* Buttons keep their existing actions/colours, only shape/depth changes */
.primaryBtn,.outlineBtn{
  border-radius:16px;
  box-shadow:0 10px 24px rgba(0,0,0,.12);
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}
.primaryBtn:hover,.outlineBtn:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 30px rgba(0,0,0,.18);
}

/* CareLink-style form geometry, original AMORA colours retained */
#editProfileForm input,
#editProfileForm select,
#editProfileForm textarea,
.inputGroup textarea{
  min-height:50px;
  padding:14px 16px;
  border-radius:16px !important;
  background:rgba(255,255,255,.055);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
}
#editProfileForm textarea,.inputGroup textarea{min-height:120px;}
#editProfileForm input:focus,
#editProfileForm select:focus,
#editProfileForm textarea:focus,
.inputGroup textarea:focus{
  border-color:rgba(234,223,207,.55);
  box-shadow:0 0 0 4px rgba(234,223,207,.07);
}
.mediaDropZone{
  min-height:180px;
  border-style:dashed;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
}
.mediaPreviewCard,.portfolioItem{border-radius:18px;}
.mediaPreviewCard button{border-radius:12px;}

/* Gallery */
.profileSlide{
  border-radius:20px;
  box-shadow:0 12px 28px rgba(0,0,0,.18);
}
.galleryDots button{transition:transform .2s ease,background .2s ease;}
.galleryDots button.active{transform:scale(1.25);}

/* Notifications/list surfaces */
.accountNotificationStrip>*{
  border-radius:16px;
}

@media(max-width:900px){
  .accountHeader{padding:10px 18px;}
  .accountIntro{padding:26px 22px;}
  .accountCard{padding:26px 22px;}
}

@media(max-width:700px){
  .accountHeader{min-height:72px;height:auto;}
  .accountPage{width:auto;padding:24px 14px 72px;}
  .accountIntro{
    padding:24px 18px;
    border-radius:22px;
    margin-bottom:18px;
  }
  .accountIntro h1{font-size:clamp(2.35rem,13vw,3.3rem);}
  .accountCard{
    padding:20px 15px;
    border-radius:20px;
    margin-bottom:16px;
  }
  .cardHeading{gap:12px;margin-bottom:20px;}
  .detailItem,.idCard,.verificationPanel,.verificationNote,.privacyNotice,.mediaDropZone,.portfolioItem{border-radius:15px;}
  .primaryBtn,.outlineBtn{border-radius:14px;}
  #editProfileForm input,#editProfileForm select,#editProfileForm textarea,.inputGroup textarea{border-radius:14px !important;}
  .profileSlide{border-radius:16px;}
}

/* ==========================================================
   2026-09-25 OPEN PROFILE REDESIGN
   Layout-only redesign: preserve existing colors, controls and JS hooks.
   Removes the centered stacked-card architecture.
========================================================== */

.accountPage{
  width:100%;
  max-width:none;
  margin:0;
  padding:48px clamp(22px,5vw,78px) 100px;
}

.accountContent{
  width:100%;
  max-width:1440px;
  margin:0 auto;
}

.accountIntro{
  min-height:220px;
  align-items:center;
  margin:0;
  padding:28px 0 46px;
  border-bottom:1px solid var(--line);
}

.accountIntro h1{
  max-width:900px;
  font-size:clamp(3.6rem,7vw,7.4rem);
  line-height:.84;
}

.accountStatusRow{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  align-items:center;
  gap:10px;
  max-width:470px;
}

.accountStatusRow .verificationBadge,
.accountStatusRow .appointmentsBtn{
  margin:0;
}

.accountCard{
  margin:0;
  padding:42px 0;
  background:transparent;
  border:0;
  border-bottom:1px solid var(--line);
  backdrop-filter:none;
  box-shadow:none;
}

.accountCard:last-child{
  border-bottom:0;
}

.cardHeading{
  margin:0 0 26px;
  padding:0;
}

.cardHeading h2{
  font-size:clamp(1.75rem,2.6vw,2.6rem);
  letter-spacing:-.02em;
  text-transform:none;
}

.smallTitle{
  margin-bottom:8px;
}

.accountNotificationsCard{
  display:grid;
  grid-template-columns:minmax(220px,.34fr) minmax(0,1fr);
  gap:clamp(28px,5vw,72px);
  align-items:start;
}

.accountNotificationsCard .cardHeading{
  display:block;
  margin:0;
  position:sticky;
  top:110px;
}

.accountNotificationsCard .cardHeading .outlineBtn{
  margin-top:18px;
}

.accountNotificationStrip{
  min-width:0;
}

.detailsGrid{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:0;
  border-top:1px solid var(--line);
}

.detailItem{
  min-height:112px;
  padding:22px 22px 22px 0;
  background:transparent;
  border:0;
  border-bottom:1px solid var(--line);
}

.detailItem:not(:nth-child(4n+1)){
  padding-left:22px;
  border-left:1px solid var(--line);
}

.detailItem.fullWidth{
  grid-column:1/-1;
  padding-left:0;
  border-left:0;
}

.profileGallery{
  gap:16px;
  padding-bottom:4px;
}

.profileSlide{
  min-width:min(72vw,720px);
  height:min(68vh,680px);
  border:1px solid var(--line);
  background:#111;
}

.galleryDots{
  justify-content:flex-start;
  margin-top:14px;
}

.profilePictureEdit{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:16px;
  align-items:center;
  margin-top:22px;
  padding-top:22px;
  border-top:1px solid var(--line);
}

.privateCard .privacyNotice{
  max-width:900px;
  margin-bottom:28px;
}

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

.idCard{
  padding:0;
  border:0;
  background:transparent;
}

.idCard img{
  margin-top:8px;
  border:1px solid var(--line);
  background:rgba(0,0,0,.2);
}

.verificationPanel{
  max-width:900px;
  padding:0;
  background:transparent;
}

.statusIcon{
  border-radius:50%;
}

.verificationNote{
  max-width:900px;
}

.mediaDropZone{
  min-height:190px;
  border-width:1px;
  background:rgba(255,255,255,.02);
}

.mediaPreviewGrid,
.portfolioGrid{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}

.portfolioItem{
  border:0;
  background:transparent;
}

.portfolioItem img,
.portfolioItem video{
  height:360px;
  border:1px solid var(--line);
}

@media (min-width:1000px){
  .accountHeader{padding-left:5vw;padding-right:5vw}
  .accountCard > .cardHeading{
    display:grid;
    grid-template-columns:minmax(260px,.34fr) minmax(0,1fr);
    align-items:end;
  }
  .accountCard > .cardHeading > :last-child:not(:first-child){
    justify-self:end;
  }
}

@media(max-width:900px){
  .accountPage{padding:34px 20px 80px}
  .accountIntro{display:block;min-height:0;padding:20px 0 32px}
  .accountIntro h1{font-size:clamp(3rem,12vw,5.2rem)}
  .accountStatusRow{justify-content:flex-start;max-width:none;margin-top:24px}
  .accountNotificationsCard{display:block}
  .accountNotificationsCard .cardHeading{position:static;display:flex;margin-bottom:20px}
  .detailsGrid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .detailItem:not(:nth-child(4n+1)){padding-left:0;border-left:0}
  .detailItem:nth-child(even){padding-left:18px;border-left:1px solid var(--line)}
  .detailItem.fullWidth{padding-left:0;border-left:0}
  .mediaPreviewGrid,.portfolioGrid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:620px){
  .accountPage{padding:24px 14px 72px}
  .accountIntro{padding-top:8px}
  .accountIntro h1{font-size:clamp(2.7rem,15vw,4rem);letter-spacing:-2px}
  .accountCard{padding:30px 0}
  .cardHeading{margin-bottom:20px}
  .cardHeading h2{font-size:1.55rem}
  .detailsGrid{display:block;border-top:1px solid var(--line)}
  .detailItem,.detailItem:nth-child(even),.detailItem.fullWidth{
    min-height:0;
    padding:16px 0;
    border-left:0;
    border-bottom:1px solid var(--line);
  }
  .profileSlide{min-width:88vw;height:60vh;max-height:560px}
  .profilePictureEdit{grid-template-columns:1fr;gap:10px}
  .profilePictureEdit .outlineBtn{width:100%}
  .nationalIdGrid{grid-template-columns:1fr}
  .mediaPreviewGrid,.portfolioGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .portfolioItem img,.portfolioItem video{height:230px}
}

/* ==========================================================
   2026-09-25 MOBILE ALIGNMENT FIX
   Keep My Account content evenly inset from both screen edges.
   Layout only; no button/logic changes.
========================================================== */
.accountPage,
.accountContent,
.accountIntro,
.accountCard{
  box-sizing:border-box;
}

.accountContent{
  margin-left:0 !important;
  margin-right:0 !important;
}

@media(max-width:768px){
  html,body{
    width:100%;
    max-width:100%;
    overflow-x:hidden;
  }

  .accountPage{
    width:100% !important;
    max-width:100% !important;
    margin:0 !important;
    padding-left:16px !important;
    padding-right:16px !important;
  }

  .accountContent,
  .accountIntro,
  .accountCard,
  .accountNotificationsCard,
  .cardHeading,
  .detailsGrid,
  .profileGallery,
  .profilePictureEdit,
  .nationalIdGrid,
  .verificationPanel,
  .mediaPreviewGrid,
  .portfolioGrid{
    width:100% !important;
    max-width:100% !important;
    margin-left:0 !important;
    margin-right:0 !important;
    transform:none !important;
  }

  .accountIntro,
  .accountCard{
    padding-left:0 !important;
    padding-right:0 !important;
  }

  .accountIntro > div,
  .accountNotificationsCard > *,
  .cardHeading > *,
  .detailsGrid > *,
  .profilePictureEdit > *{
    min-width:0;
    max-width:100%;
  }

  .detailsGrid{
    grid-template-columns:1fr !important;
  }

  .detailItem,
  .detailItem:nth-child(even),
  .detailItem.fullWidth{
    width:100% !important;
    padding-left:0 !important;
    padding-right:0 !important;
    border-left:0 !important;
  }

  .accountNotificationsCard{
    grid-template-columns:1fr !important;
  }

  .accountStatusRow{
    width:100% !important;
    max-width:100% !important;
    margin-left:0 !important;
    margin-right:0 !important;
    justify-content:flex-start !important;
  }

  .profileSlide{
    min-width:100% !important;
    width:100% !important;
    max-width:100% !important;
  }
}

@media(max-width:480px){
  .accountPage{
    padding-left:14px !important;
    padding-right:14px !important;
  }
}


/* ==========================================================
   2026-09-25 COMPACT MOBILE MY ACCOUNT RESTRUCTURE
   Purpose: remove the giant nested-card/mobile-form appearance.
   Layout only. Existing account actions, IDs and JS hooks stay intact.
========================================================== */
@media(max-width:768px){
  /* Open page composition: sections are separated by rhythm/dividers,
     not large bordered containers. */
  .accountPage{
    padding-top:20px !important;
    padding-bottom:84px !important;
  }

  .accountPage .accountContent{
    width:100% !important;
    max-width:100% !important;
  }

  .accountPage .accountIntro{
    padding:10px 0 24px !important;
    margin:0 !important;
    border-bottom:1px solid var(--line) !important;
  }

  .accountPage .accountIntro h1{
    font-size:clamp(2.35rem,11vw,3.35rem) !important;
    line-height:.96 !important;
    letter-spacing:-1.5px !important;
  }

  .accountPage .accountStatusRow{
    margin-top:18px !important;
    gap:8px !important;
  }

  .accountPage .accountStatusRow .verificationBadge,
  .accountPage .accountStatusRow .appointmentsBtn{
    min-height:42px !important;
    padding:10px 13px !important;
    font-size:.7rem !important;
  }

  .accountPage .accountCard{
    width:100% !important;
    max-width:100% !important;
    margin:0 !important;
    padding:26px 0 !important;
    background:transparent !important;
    border:0 !important;
    border-bottom:1px solid var(--line) !important;
    box-shadow:none !important;
    backdrop-filter:none !important;
    border-radius:0 !important;
  }

  .accountPage .accountCard:last-child{
    border-bottom:0 !important;
  }

  .accountPage .cardHeading{
    width:100% !important;
    display:flex !important;
    align-items:flex-end !important;
    justify-content:space-between !important;
    gap:12px !important;
    margin:0 0 17px !important;
    padding:0 !important;
  }

  .accountPage .cardHeading h2{
    margin:0 !important;
    font-size:1.45rem !important;
    line-height:1.12 !important;
    letter-spacing:-.02em !important;
    text-transform:none !important;
  }

  .accountPage .smallTitle{
    margin-bottom:5px !important;
    font-size:.58rem !important;
    letter-spacing:2.5px !important;
  }

  .accountPage .cardHeading .outlineBtn{
    flex:0 0 auto !important;
    min-height:40px !important;
    padding:9px 12px !important;
    font-size:.72rem !important;
  }

  /* Compact profile gallery: one photo should not consume an entire phone screen. */
  .accountPage .profileGallery{
    width:100% !important;
    gap:10px !important;
    padding:0 !important;
  }

  .accountPage .profileSlide{
    min-width:100% !important;
    width:100% !important;
    height:min(105vw,430px) !important;
    max-height:430px !important;
    border:0 !important;
    border-radius:14px !important;
    background:#111 !important;
  }

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

  .accountPage .galleryDots{
    margin:11px 0 0 !important;
    justify-content:flex-start !important;
  }

  .accountPage .profilePictureEdit{
    width:100% !important;
    display:flex !important;
    flex-wrap:wrap !important;
    align-items:center !important;
    gap:9px 12px !important;
    margin-top:14px !important;
    padding-top:14px !important;
    border-top:1px solid var(--line) !important;
  }

  .accountPage .profilePictureEdit .outlineBtn{
    width:auto !important;
    flex:0 0 auto !important;
    min-height:42px !important;
  }

  .accountPage #profilePictureEditStatus{
    flex:1 1 210px !important;
    font-size:.72rem !important;
    line-height:1.45 !important;
    color:var(--muted) !important;
  }

  /* Public/private information becomes a compact two-column information sheet. */
  .accountPage .detailsGrid{
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:0 !important;
    width:100% !important;
    border-top:1px solid var(--line) !important;
  }

  .accountPage .detailItem,
  .accountPage .detailItem:nth-child(even),
  .accountPage .detailItem.fullWidth{
    min-width:0 !important;
    min-height:0 !important;
    width:auto !important;
    margin:0 !important;
    padding:14px 12px 14px 0 !important;
    background:transparent !important;
    border:0 !important;
    border-bottom:1px solid var(--line) !important;
    border-radius:0 !important;
  }

  .accountPage .detailItem:nth-child(2n){
    padding-left:12px !important;
    padding-right:0 !important;
    border-left:1px solid var(--line) !important;
  }

  .accountPage .detailItem.fullWidth{
    grid-column:1/-1 !important;
    padding-left:0 !important;
    padding-right:0 !important;
    border-left:0 !important;
  }

  .accountPage .detailItem span{
    margin:0 0 5px !important;
    font-size:.57rem !important;
    letter-spacing:1.8px !important;
    line-height:1.35 !important;
  }

  .accountPage .detailItem strong,
  .accountPage .detailItem p,
  .accountPage .detailItem a{
    margin:0 !important;
    font-size:.91rem !important;
    line-height:1.42 !important;
    overflow-wrap:anywhere !important;
  }

  .accountPage .privacyNotice{
    max-width:none !important;
    margin:0 0 16px !important;
    padding:11px 13px !important;
    border-left:3px solid var(--gold) !important;
    border-radius:0 !important;
    font-size:.75rem !important;
    line-height:1.5 !important;
  }

  .accountPage .privateLabel{
    max-width:125px !important;
    text-align:right !important;
    line-height:1.35 !important;
  }

  /* Identity images remain readable without another nested card treatment. */
  .accountPage .nationalIdGrid{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:16px !important;
    margin-top:18px !important;
  }

  .accountPage .idCard{
    padding:0 !important;
    border:0 !important;
    background:transparent !important;
    border-radius:0 !important;
  }

  .accountPage .idCard span{
    margin-bottom:7px !important;
    font-size:.58rem !important;
  }

  .accountPage .idCard img{
    width:100% !important;
    max-height:330px !important;
    margin:0 !important;
    object-fit:contain !important;
    border:1px solid var(--line) !important;
  }

  /* Verification and upload sections stay functional but lose oversized boxes. */
  .accountPage .verificationPanel{
    width:100% !important;
    max-width:none !important;
    padding:14px 0 !important;
    gap:14px !important;
    background:transparent !important;
  }

  .accountPage .sectionText{
    margin-bottom:15px !important;
    font-size:.8rem !important;
    line-height:1.55 !important;
  }

  .accountPage .mediaDropZone{
    min-height:130px !important;
    padding:18px !important;
  }

  .accountPage .mediaPreviewGrid,
  .accountPage .portfolioGrid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:8px !important;
  }

  .accountPage .portfolioItem img,
  .accountPage .portfolioItem video{
    height:210px !important;
  }
}

@media(max-width:390px){
  .accountPage .detailItem,
  .accountPage .detailItem:nth-child(even),
  .accountPage .detailItem.fullWidth{
    padding-top:12px !important;
    padding-bottom:12px !important;
  }

  .accountPage .detailItem:nth-child(2n){
    padding-left:10px !important;
  }

  .accountPage .detailItem:not(:nth-child(2n)){
    padding-right:10px !important;
  }

  .accountPage .detailItem strong,
  .accountPage .detailItem p,
  .accountPage .detailItem a{
    font-size:.86rem !important;
  }
}

/* ==========================================================
   2026-09-25 FINAL MOBILE MY ACCOUNT POLISH
   Fix lingering CareLink-card overrides and small layout flaws.
   Visual/layout only — no account logic or controls changed.
========================================================== */
@media(max-width:768px){
  /* The account identity is page content, not a card. */
  .accountPage .accountIntro{
    display:block !important;
    position:relative !important;
    overflow:visible !important;
    width:100% !important;
    min-height:0 !important;
    margin:0 !important;
    padding:12px 0 24px !important;
    background:transparent !important;
    border:0 !important;
    border-radius:0 !important;
    border-bottom:1px solid var(--line) !important;
    box-shadow:none !important;
    backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important;
  }

  .accountPage .accountIntro::before{
    display:none !important;
    content:none !important;
  }

  .accountPage .accountIntro > div:first-child{
    width:100% !important;
    padding:0 !important;
    margin:0 !important;
  }

  .accountPage .accountIntro .smallTitle{
    margin:0 0 8px !important;
  }

  .accountPage .accountIntro h1{
    width:100% !important;
    max-width:100% !important;
    margin:0 !important;
    padding:0 !important;
    font-size:clamp(2.35rem,11vw,3.2rem) !important;
    line-height:1 !important;
    letter-spacing:-1.5px !important;
    overflow-wrap:anywhere !important;
  }

  .accountPage .accountIntro > div:first-child > p:last-child{
    margin:10px 0 0 !important;
    padding:0 !important;
    font-size:1rem !important;
    line-height:1.35 !important;
  }

  /* Keep status actions compact beneath the identity text. */
  .accountPage .accountStatusRow{
    width:100% !important;
    margin:17px 0 0 !important;
    padding:0 !important;
    gap:8px !important;
  }

  /* Gallery heading and count stay on one clean baseline. */
  .accountPage .cardHeading{
    align-items:center !important;
    gap:10px !important;
  }

  .accountPage .cardHeading > div{
    min-width:0 !important;
    flex:1 1 auto !important;
  }

  .accountPage .cardHeading > span,
  .accountPage #galleryCount{
    flex:0 0 auto !important;
    margin:0 !important;
    white-space:nowrap !important;
    font-size:.66rem !important;
    letter-spacing:2px !important;
  }

  /* A single photo does not need a lone pagination dot. */
  .accountPage .galleryDots:has(> button:only-child){
    display:none !important;
    margin:0 !important;
    height:0 !important;
  }

  .accountPage .galleryDots > button:only-child{
    display:none !important;
  }

  .accountPage .galleryDots{
    min-height:0 !important;
    padding:0 !important;
  }

  /* Keep picture controls visually attached to the gallery, without a second box. */
  .accountPage .profilePictureEdit{
    margin-top:16px !important;
    padding:16px 0 0 !important;
  }

  .accountPage .profilePictureEdit .outlineBtn{
    max-width:100% !important;
    padding:11px 15px !important;
    line-height:1.2 !important;
  }

  /* Section headings should not look jammed against either edge. */
  .accountPage .cardHeading .outlineBtn{
    max-width:46% !important;
    white-space:normal !important;
    text-align:center !important;
    line-height:1.15 !important;
  }

  /* Remove any leftover nested surface styling from information rows. */
  .accountPage .detailsGrid,
  .accountPage .detailItem,
  .accountPage .idCard,
  .accountPage .verificationPanel,
  .accountPage .portfolioItem{
    box-shadow:none !important;
  }

  /* Give the final content breathing room above floating support UI. */
  .accountPage{
    padding-bottom:118px !important;
  }
}

@media(max-width:390px){
  .accountPage .cardHeading h2{
    font-size:1.32rem !important;
  }

  .accountPage .cardHeading .outlineBtn{
    padding:8px 10px !important;
    font-size:.64rem !important;
  }
}


/* ===== MY ACCOUNT STORY SHARING ===== */
.storyShareBox{
  margin-top:14px;
  padding:14px;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px 12px;
  align-items:center;
  border:1px solid rgba(232,45,91,.34);
  background:linear-gradient(135deg,rgba(180,20,59,.14),rgba(255,255,255,.035));
  border-radius:14px;
}
.storyShareCopy{display:flex;flex-direction:column;gap:3px;min-width:0}
.storyShareCopy strong{font-size:14px;letter-spacing:.3px}
.storyShareCopy span{font-size:12px;color:var(--muted,#9da4b2);line-height:1.45}
.shareStoryBtn{
  min-height:40px;
  padding:0 16px;
  border:1px solid #e82d5b;
  border-radius:10px;
  background:#b4143b;
  color:#fff;
  font:800 11px/1 Poppins,Arial,sans-serif;
  letter-spacing:.8px;
  cursor:pointer;
}
.shareStoryBtn:disabled{opacity:.55;cursor:not-allowed}
.storyShareStatus{grid-column:1/-1;font-size:12px;line-height:1.4;color:var(--muted,#9da4b2)}
.storyShareStatus.success{color:#7ce2a4}.storyShareStatus.error{color:#ff8ca7}
@media(max-width:620px){
  .storyShareBox{grid-template-columns:1fr;align-items:stretch}
  .shareStoryBtn{width:100%}.storyShareStatus{grid-column:auto}
}


/* ===== MY ACCOUNT PRIMARY ACTIONS: 2 x 2 EQUAL GRID ===== */
.accountStatusRow{
  width:min(100%,620px) !important;
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:10px !important;
  overflow:visible !important;
  white-space:normal !important;
  padding:0 !important;
  margin-top:18px !important;
  align-items:stretch !important;
}
.accountStatusRow > *{
  width:100% !important;
  min-width:0 !important;
  min-height:48px !important;
  margin:0 !important;
  padding:0 12px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  box-sizing:border-box !important;
  text-align:center !important;
  white-space:normal !important;
  line-height:1.2 !important;
  border-radius:6px !important;
  font:700 .60rem/1.2 'Space Grotesk',sans-serif !important;
  letter-spacing:.8px !important;
}
.accountStatusRow .verificationBadge,
.accountStatusRow .appointmentsBtn{
  min-height:48px !important;
}
.shareStoryActionBtn{
  border:1px solid rgba(210,94,117,.58) !important;
  background:#4b1625 !important;
  color:#fff !important;
  cursor:pointer !important;
}
.shareStoryActionBtn:hover,
.shareStoryActionBtn:focus{
  background:#681d31 !important;
  border-color:rgba(232,45,91,.82) !important;
}
.shareStoryActionBtn:disabled{
  opacity:.55 !important;
  cursor:wait !important;
}
.accountStoryStatus{
  display:block;
  width:min(100%,620px);
  margin-top:8px;
  font-size:12px;
  line-height:1.4;
}
@media(max-width:700px){
  .accountStatusRow{
    width:100% !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:8px !important;
    overflow:visible !important;
    padding:0 !important;
  }
  .accountStatusRow > *,
  .accountStatusRow .appointmentsBtn,
  .accountStatusRow .verificationBadge{
    min-height:46px !important;
    padding:0 8px !important;
    font-size:.55rem !important;
    letter-spacing:.55px !important;
  }
  .appointmentsIcon{
    font-size:14px !important;
  }
  .accountStoryStatus{
    width:100%;
    margin-top:7px;
    font-size:11px;
  }
}

