/* Astorians Account Experience v1.3 — responsive, full-width inside learner dashboard */
.ast-account-page{min-height:70vh;padding:85px 18px 120px;background:radial-gradient(ellipse at 75% 5%,#7833ac3b,transparent 42%),linear-gradient(135deg,#0a0e26,#17102d 65%,#09172e);color:#f2f5ff}
.ast-account-page .wrap{max-width:1380px;margin:auto}.ast-account-page h1{font-size:clamp(34px,5vw,60px);line-height:1.08}
.ast-account-box{width:100%;min-width:0;max-width:none;margin:20px 0 10px;padding:clamp(18px,3vw,30px);box-sizing:border-box;border:1px solid #6d5391;border-radius:22px;background:radial-gradient(ellipse at 97% 2%,#8146c025,transparent 48%),linear-gradient(140deg,#141a36,#10122c);color:#f3efff}
.ast-account-box *, .ast-account-box *:before,.ast-account-box *:after{box-sizing:border-box}.ast-account-heading{margin-bottom:24px}.ast-account-heading h2{color:#fff;font-size:clamp(25px,3vw,36px);letter-spacing:-.035em;line-height:1.14;margin:6px 0}.ast-account-heading p{color:#bec9e8;font-size:15px;line-height:1.6;margin:0}.ast-account-eyebrow{font-weight:750;color:#e6a2f7!important;letter-spacing:.14em;font-size:11px!important}
.ast-account-layout{display:grid;grid-template-columns:minmax(215px,.72fr) minmax(0,2fr);gap:18px;align-items:start}.ast-account-identity{display:flex;flex-direction:column;min-width:0;align-items:center;padding:26px 20px;border:1px solid #644f93;border-radius:16px;background:linear-gradient(165deg,#24214b,#161d3f 60%,#27204a);min-height:430px}.ast-account-avatar-wrap{padding:5px;border-radius:50%;background:linear-gradient(145deg,#63e0ff,#e96de4);box-shadow:0 0 32px #b65df077}.ast-account-avatar{display:block;width:96px;height:96px;object-fit:cover;border-radius:50%}.ast-account-name{font-size:22px;color:#fff;line-height:1.2;margin:20px 0 8px;overflow-wrap:anywhere;text-align:center}.ast-account-role{border:1px solid #895bba;background:#562477;padding:7px 13px;border-radius:999px;color:#f8e4ff;font-size:12px;font-weight:750;margin-bottom:22px}.ast-account-identity-row{display:grid;gap:4px;width:100%;border-top:1px solid #625279;padding:12px 0;overflow-wrap:anywhere}.ast-account-identity-row span{font-size:11px;color:#aebbe2}.ast-account-identity-row strong{font-size:13px;color:#fff;font-weight:650}
.ast-account-main{display:grid;gap:18px;min-width:0}.ast-account-form{display:grid;gap:18px;margin:0!important}.ast-account-section{min-width:0;padding:22px;border:1px solid #615283;border-radius:15px;background:#141935}.ast-account-section h3,.ast-account-action h3{color:#fff;font-size:19px;letter-spacing:-.02em;margin:0 0 16px}.ast-account-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.ast-account-box label:not(.ast-account-check){display:grid;gap:7px;min-width:0;color:#e2dcf7;font-size:13px;font-weight:650}.ast-account-field-full{grid-column:1/-1}.ast-account-box input:not([type=checkbox]),.ast-account-box textarea{display:block;width:100%;min-width:0;background:#101831;border:1px solid #5d6093;border-radius:10px;padding:12px 14px;color:#fff;font:inherit;font-size:14px;max-width:100%}.ast-account-box input:disabled{color:#b3bad5;opacity:.84;cursor:not-allowed}.ast-account-box input:focus,.ast-account-box textarea:focus{border-color:#b777f4;outline:2px solid #8f65bc;outline-offset:1px}.ast-account-box textarea{resize:vertical}.ast-account-check{display:flex;align-items:flex-start;gap:10px;line-height:1.5;font-size:13px;color:#d0d7ee;margin-top:14px}.ast-account-check input{flex:0 0 auto;margin-top:4px;accent-color:#ac67e6}.ast-account-note{margin:12px 0 0;color:#afb7d5;font-size:12px;line-height:1.6}.ast-account-box .ast-account-save{display:flex;align-items:center;gap:15px;flex-wrap:wrap}.ast-account-save button{background:linear-gradient(100deg,#9136d0,#d663d6);color:#fff;border:1px solid #df8bff;padding:12px 20px;border-radius:11px;font-weight:760;cursor:pointer}.ast-account-save button:hover{filter:brightness(1.13)}.ast-account-save span{color:#b9b7d7;font-size:12px}.ast-account-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.ast-account-action{min-width:0;border:1px solid #564c7f;padding:20px;border-radius:14px;background:linear-gradient(135deg,#212043,#111a35)}.ast-account-action p{font-size:13px;color:#c6c9e0;line-height:1.65;margin:0 0 14px}.ast-account-action a{color:#9cebf8;text-decoration:none;font-weight:700;overflow-wrap:anywhere}.ast-account-action a:hover{text-decoration:underline}.ast-account-success{padding:12px 16px;background:#12413e;border:1px solid #50c8ac;border-radius:12px;color:#cbffec}.ast-account-box :focus-visible{outline:3px solid #82e9ff;outline-offset:3px}
.ds-account-view{grid-column:1/-1!important;overflow:visible!important}.ds-account-view>.ast-account-box{margin-top:20px}.ds-account-view .ast-account-main{min-width:0}.ds-account-view .ast-account-box{padding:clamp(14px,2.5vw,28px)}
@media(max-width:1030px){.ast-account-layout{grid-template-columns:minmax(185px,.7fr) minmax(0,1.7fr)}.ast-account-section{padding:17px}.ast-account-actions{grid-template-columns:1fr}}
@media(max-width:740px){.ast-account-layout{grid-template-columns:1fr}.ast-account-identity{min-height:auto;display:grid;grid-template-columns:auto 1fr;gap:7px 18px;align-items:center}.ast-account-avatar-wrap{grid-row:1/3}.ast-account-name,.ast-account-role{margin:0;text-align:left;justify-self:start}.ast-account-identity-row{grid-column:1/-1}.ast-account-fields{grid-template-columns:1fr}.ast-account-field-full{grid-column:auto}}
@media(max-width:420px){.ast-account-box{padding:14px}.ast-account-identity{padding:17px}.ast-account-section{padding:15px}.ast-account-heading h2{font-size:24px}}
@media(prefers-reduced-motion:reduce){.ast-account-box *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
