/* PaperMCQs account portal and member dashboard */
.pm-account-page,.pm-dashboard-page{padding:45px 0 70px;background:linear-gradient(180deg,#f5faf6 0,#fff 380px);min-height:70vh}.pm-account-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:24px}.pm-account-heading>div>span,.pm-dashboard-section-head span,.pm-dashboard-panel header span{color:#087b36;font-size:.64rem;font-weight:800;text-transform:uppercase;letter-spacing:.1em}.pm-account-heading h1{font-size:clamp(1.8rem,3vw,2.45rem);margin:5px 0}.pm-account-heading p{margin:0;color:#65736b}.pm-account-alert{display:flex;gap:12px;align-items:flex-start;border:0;border-left:4px solid;padding:14px 17px}.pm-account-alert p{margin:0}.pm-account-layout{display:grid;grid-template-columns:285px minmax(0,1fr);gap:22px;align-items:start}.pm-account-sidebar{position:sticky;top:90px;border:1px solid #dce7df;border-radius:17px;background:linear-gradient(155deg,#003c1c,#087b36);color:#fff;padding:28px 23px;box-shadow:0 14px 40px rgba(1,65,28,.1);text-align:center}.pm-account-avatar-wrap{position:relative;width:105px;height:105px;margin:0 auto 15px}.pm-account-avatar-wrap>img,.pm-account-initials{width:105px;height:105px;border-radius:50%;border:4px solid rgba(255,255,255,.8);object-fit:cover;display:grid;place-items:center;background:#fff;color:#005329;font-family:"Poppins";font-size:2rem;font-weight:800}.pm-account-online{position:absolute;right:3px;bottom:4px;width:28px;height:28px;border-radius:50%;background:#31b85a;border:3px solid #006b32;display:grid;place-items:center}.pm-account-sidebar h2{color:#fff;font-size:1.15rem;margin-bottom:4px}.pm-account-sidebar>p{font-size:.7rem;color:rgba(255,255,255,.72);word-break:break-word}.pm-account-member{display:flex;align-items:center;gap:10px;text-align:left;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.08);border-radius:10px;padding:11px 12px;margin:20px 0}.pm-account-member i{font-size:1.15rem}.pm-account-member span{display:flex;flex-direction:column}.pm-account-member small{font-size:.57rem;color:rgba(255,255,255,.65)}.pm-account-member strong{color:#fff;font-size:.69rem}.pm-account-nav{display:grid;gap:7px;text-align:left}.pm-account-nav a{display:flex;align-items:center;gap:10px;padding:11px 12px;border-radius:8px;color:rgba(255,255,255,.82);text-decoration:none;font-size:.72rem;font-weight:700}.pm-account-nav a.active,.pm-account-nav a:hover{background:#fff;color:#005329}.pm-account-main{display:grid;gap:20px}.pm-settings-card{border:1px solid #dce7df;border-radius:17px;background:#fff;box-shadow:0 10px 30px rgba(1,65,28,.055);overflow:hidden}.pm-settings-card>header{display:flex;align-items:center;gap:13px;padding:20px 23px;border-bottom:1px solid #dce7df;background:#fbfdfb}.pm-settings-card>header>i{width:43px;height:43px;border-radius:11px;background:#e8f5ec;color:#006b32;display:grid;place-items:center;font-size:1.15rem}.pm-settings-card>header h2{font-size:1.04rem;margin:0 0 3px}.pm-settings-card>header p{font-size:.67rem;color:#65736b;margin:0}.pm-settings-card form{padding:23px}.pm-account-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.pm-account-field.full{grid-column:1/-1}.pm-account-field label{display:block;font-size:.67rem;font-weight:800;margin-bottom:7px}.pm-account-field label i{color:#087b36;margin-right:6px}.pm-account-field .form-control{min-height:47px;border-color:#cedbd2;border-radius:8px}.pm-account-field .form-control:focus{border-color:#118844;box-shadow:0 0 0 .2rem rgba(17,136,68,.12)}.pm-account-field .form-control[readonly]{background:#f3f6f4;color:#64716a}.pm-account-help{display:block;color:#65736b;font-size:.6rem;margin-top:5px}.pm-profile-upload{display:flex;align-items:center;gap:15px;padding:13px;border:1px dashed #a9bdae;border-radius:10px;background:#fbfdfb}.pm-profile-upload img,.pm-profile-upload>span{width:58px;height:58px;border-radius:50%;object-fit:cover;background:#e8f5ec;color:#006b32;display:grid;place-items:center;font-weight:800}.pm-profile-upload input{font-size:.68rem}.pm-account-actions{display:flex;justify-content:flex-end;margin-top:20px;padding-top:18px;border-top:1px solid #dce7df}.pm-account-actions .btn{min-width:155px}.pm-password-note{display:flex;gap:9px;align-items:center;padding:11px 13px;border-radius:8px;background:#fff8df;color:#725600;font-size:.65rem;margin-bottom:17px}

.pm-dashboard-hero{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:24px;padding:27px 30px;border-radius:18px;background:linear-gradient(110deg,#003c1c,#087b36);color:#fff;box-shadow:0 14px 40px rgba(1,65,28,.1);margin-bottom:38px}.pm-dashboard-user{display:flex;align-items:center;gap:17px}.pm-dashboard-user>img,.pm-dashboard-user>span{width:70px;height:70px;border-radius:50%;border:3px solid rgba(255,255,255,.7);object-fit:cover;background:#fff;color:#005329;display:grid;place-items:center;font-family:"Poppins";font-size:1.3rem;font-weight:800}.pm-dashboard-user small,.pm-dashboard-rank small{color:#a7ddb6;font-size:.6rem;text-transform:uppercase;letter-spacing:.09em}.pm-dashboard-user h1{color:#fff;font-size:1.38rem;margin:3px 0}.pm-dashboard-user p{color:rgba(255,255,255,.72);font-size:.7rem;margin:0}.pm-dashboard-rank{display:flex;align-items:center;gap:12px;padding:11px 18px;border-left:1px solid rgba(255,255,255,.2);border-right:1px solid rgba(255,255,255,.2)}.pm-dashboard-rank>i{font-size:1.8rem;color:#fff}.pm-dashboard-rank span{display:flex;flex-direction:column}.pm-dashboard-rank strong{color:#fff}.pm-dashboard-rank b{color:#bce8c8;font-size:.61rem}.pm-dashboard-hero>.btn{background:#fff;color:#005329;font-weight:800}.pm-dashboard-section-head{display:flex;justify-content:space-between;align-items:end;margin:27px 0 16px}.pm-dashboard-section-head h2{font-size:1.35rem;margin:4px 0 0}.pm-dashboard-section-head>a{color:#006b32;font-size:.7rem;font-weight:800;text-decoration:none}.pm-dashboard-test-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.pm-dashboard-test-card{position:relative;display:grid;grid-template-columns:60px 1fr;gap:15px;align-items:center;min-height:142px;padding:20px;border:1px solid #dce7df;border-radius:14px;background:#fff;color:#111;text-decoration:none;box-shadow:0 8px 25px rgba(1,65,28,.055);transition:.22s}.pm-dashboard-test-card:hover{transform:translateY(-4px);border-color:#90be9d;color:#111;box-shadow:0 14px 32px rgba(1,65,28,.11)}.pm-dashboard-test-card>span{width:58px;height:58px;border-radius:13px;background:linear-gradient(145deg,#003c1c,#118844);color:#fff;display:grid;place-items:center;font-size:1.45rem}.pm-dashboard-test-card h3{font-size:.91rem;margin:0 0 5px}.pm-dashboard-test-card p{font-size:.64rem;color:#65736b;margin:0 0 12px}.pm-dashboard-test-card b{color:#006b32;font-size:.68rem}.pm-dashboard-test-card>em{position:absolute;top:12px;right:12px;background:#e8f5ec;color:#006b32;border-radius:20px;padding:5px 8px;font-size:.55rem;font-style:normal;font-weight:800}.pm-dashboard-stat-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:11px}.pm-dashboard-stat{border:1px solid #dce7df;border-radius:12px;background:#fff;padding:17px 11px;text-align:center}.pm-dashboard-stat i{display:block;color:#087b36;font-size:1.15rem}.pm-dashboard-stat strong{display:block;font-family:"Poppins";font-size:1.35rem;margin-top:5px}.pm-dashboard-stat span{display:block;color:#65736b;font-size:.59rem}.pm-dashboard-analytics{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:17px;margin-top:28px}.pm-dashboard-panel{border:1px solid #dce7df;border-radius:15px;background:#fff;box-shadow:0 8px 26px rgba(1,65,28,.05);overflow:hidden}.pm-dashboard-panel>header{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid #dce7df;background:#fbfdfb}.pm-dashboard-panel header h2{font-size:1rem;margin:3px 0 0}.pm-dashboard-panel>header>i{color:#087b36;font-size:1.25rem}.pm-chart-wrap{height:285px;padding:19px}.pm-chart-wrap canvas{max-height:245px}.pm-dashboard-empty{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#65736b}.pm-dashboard-empty>i{font-size:2rem;color:#9aaba0}.pm-dashboard-empty h3{font-size:.84rem;margin:8px 0 3px}.pm-dashboard-empty p{font-size:.65rem;margin-bottom:12px}.pm-accuracy-panel{text-align:center}.pm-accuracy-ring{--accuracy:0deg;width:142px;height:142px;border-radius:50%;background:conic-gradient(#087b36 var(--accuracy),#e5ebe7 0);margin:23px auto 13px;display:grid;place-items:center;position:relative}.pm-accuracy-ring:before{content:"";position:absolute;inset:12px;background:#fff;border-radius:50%}.pm-accuracy-ring span{position:relative}.pm-accuracy-ring strong{display:block;font-family:"Poppins";font-size:1.5rem}.pm-accuracy-ring small{color:#65736b;font-size:.59rem}.pm-accuracy-panel>h3{font-size:.92rem}.pm-accuracy-panel>p{font-size:.65rem;color:#65736b;padding:0 22px}.pm-accuracy-panel>a{display:inline-flex;gap:7px;align-items:center;margin:4px 0 20px;color:#006b32;font-size:.68rem;font-weight:800;text-decoration:none}.pm-history-panel{margin-top:18px}.pm-history-table-wrap{overflow-x:auto}.pm-history-table{width:100%;border-collapse:collapse;min-width:760px}.pm-history-table th{padding:12px 15px;background:#003c1c;color:#fff;font-size:.6rem;text-transform:uppercase;letter-spacing:.05em}.pm-history-table td{padding:13px 15px;border-bottom:1px solid #dce7df;font-size:.68rem}.pm-history-table tr:last-child td{border-bottom:0}.pm-history-table .pm-score-badge{display:inline-block;min-width:48px;text-align:center;padding:5px 8px;border-radius:20px;background:#e8f5ec;color:#006b32;font-weight:800}.pm-history-actions{display:flex;gap:6px}.pm-history-actions a{width:31px;height:31px;display:grid;place-items:center;border:1px solid #dce7df;border-radius:7px;color:#006b32}
@media(max-width:1100px){.pm-dashboard-stat-grid{grid-template-columns:repeat(3,1fr)}.pm-dashboard-hero{grid-template-columns:1fr auto}.pm-dashboard-hero>.btn{grid-column:1/-1;justify-self:start}}@media(max-width:991px){.pm-account-layout{grid-template-columns:1fr}.pm-account-sidebar{position:static}.pm-account-nav{grid-template-columns:repeat(3,1fr)}.pm-dashboard-test-grid{grid-template-columns:1fr}.pm-dashboard-analytics{grid-template-columns:1fr}.pm-dashboard-hero{grid-template-columns:1fr}.pm-dashboard-rank{border:0;border-top:1px solid rgba(255,255,255,.2);padding:15px 0 0}.pm-dashboard-hero>.btn{grid-column:auto}}@media(max-width:767px){.pm-account-page,.pm-dashboard-page{padding:28px 0 50px}.pm-account-heading{align-items:flex-start;flex-direction:column}.pm-account-heading .btn{width:100%}.pm-account-form-grid{grid-template-columns:1fr}.pm-account-field.full{grid-column:auto}.pm-account-nav{grid-template-columns:1fr}.pm-settings-card form{padding:18px 15px}.pm-settings-card>header{padding:17px}.pm-profile-upload{align-items:flex-start;flex-direction:column}.pm-account-actions .btn{width:100%}.pm-dashboard-hero{padding:23px 18px}.pm-dashboard-user{align-items:flex-start}.pm-dashboard-user>img,.pm-dashboard-user>span{width:56px;height:56px;min-width:56px}.pm-dashboard-user h1{font-size:1.07rem}.pm-dashboard-section-head{align-items:flex-start;gap:9px}.pm-dashboard-section-head>a{display:none}.pm-dashboard-stat-grid{grid-template-columns:repeat(2,1fr)}.pm-dashboard-test-card{grid-template-columns:50px 1fr;padding:17px 14px}.pm-dashboard-test-card>span{width:48px;height:48px}.pm-dashboard-test-card>em{position:static;grid-column:2}.pm-chart-wrap{height:250px;padding:12px}.pm-history-panel>header{align-items:flex-start}.pm-config-modal-head{grid-template-columns:42px 1fr auto;padding:17px 15px}.pm-config-modal-icon{width:40px;height:40px}.pm-config-modal-body{padding:15px}.pm-config-field{padding:13px}.pm-config-modal-footer{padding:13px 15px}.pm-config-modal-footer .btn{min-width:0}}

/* Markup alignment overrides */
.pm-account-sidebar nav{display:grid;gap:7px;text-align:left}.pm-account-sidebar nav a{display:flex;align-items:center;gap:10px;padding:11px 12px;border-radius:8px;color:rgba(255,255,255,.82);text-decoration:none;font-size:.72rem;font-weight:700}.pm-account-sidebar nav a.is-active,.pm-account-sidebar nav a:hover{background:#fff;color:#005329}.pm-settings-card>header>span{width:43px;height:43px;min-width:43px;border-radius:11px;background:#e8f5ec;color:#006b32;display:grid;place-items:center;font-size:1.15rem}.pm-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.pm-form-field.pm-field-wide{grid-column:1/-1}.pm-form-field>label{display:flex;justify-content:space-between;gap:10px;font-size:.67rem;font-weight:800;margin-bottom:7px}.pm-form-field>label small{color:#65736b;font-weight:500}.pm-form-field>div{position:relative}.pm-form-field>div>i{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:#087b36;z-index:2}.pm-form-field>div>.form-control{padding-left:42px}.pm-form-field .form-control{min-height:47px;border-color:#cedbd2;border-radius:8px}.pm-form-field .form-control:focus{border-color:#118844;box-shadow:0 0 0 .2rem rgba(17,136,68,.12)}.pm-form-field .form-control[readonly]{background:#f3f6f4;color:#64716a}.pm-settings-actions{display:flex;justify-content:flex-end;margin-top:20px;padding-top:18px;border-top:1px solid #dce7df}.pm-settings-actions .btn{min-width:180px}.pm-dashboard-stat-grid>div{border:1px solid #dce7df;border-radius:12px;background:#fff;padding:17px 11px;text-align:center}.pm-dashboard-stat-grid>div>span{width:38px;height:38px;margin:auto;border-radius:10px;background:#e8f5ec;color:#087b36;display:grid;place-items:center;font-size:1rem}.pm-dashboard-stat-grid>div>p{font-size:.63rem;font-weight:700;margin:9px 0 1px}.pm-dashboard-stat-grid>div>strong{display:block;font-family:"Poppins";font-size:1.25rem}.pm-dashboard-stat-grid>div>small{display:block;color:#65736b;font-size:.56rem}.pm-history-table td:first-child strong,.pm-history-table td:first-child small{display:block}.pm-history-table .is-correct{color:#087b36;font-weight:800}.pm-history-table .is-wrong{color:#c62828;font-weight:800}.pm-score-badge.is-low{background:#fff0f1;color:#a61b2b}.pm-test-type{font-weight:700}
@media(max-width:767px){.pm-settings-grid{grid-template-columns:1fr}.pm-form-field.pm-field-wide{grid-column:auto}.pm-settings-actions .btn{width:100%}.pm-account-sidebar nav{grid-template-columns:1fr}}
