.backend-dashboard-content{min-height:calc(100vh - 180px)}
.backend-page-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:26px}.backend-page-head h1{margin:0;color:#10263a;font-size:clamp(1.8rem,3vw,2.7rem)}.backend-page-head p{margin:.45rem 0 0;color:#73869a;font-weight:700}.backend-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.backend-card{background:#fff;border:1px solid #e1eaf1;border-radius:22px;box-shadow:0 14px 34px rgba(17,49,70,.07);padding:24px}.backend-card h2,.backend-card h3{color:#10263a}.backend-course-card{display:flex;flex-direction:column;min-height:330px}.backend-course-card img{width:100%;height:150px;object-fit:contain;background:#f3f8fb;border-radius:16px}.backend-course-card__meta{display:flex;justify-content:space-between;gap:12px;color:#6f8294;font-weight:800;margin-top:auto;padding-top:18px}.backend-progress{height:10px;background:#e8f0f5;border-radius:99px;overflow:hidden}.backend-progress i{display:block;height:100%;background:linear-gradient(90deg,#0c718d,#53d0df);border-radius:inherit}.backend-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:13px;padding:12px 18px;background:#064c68;color:#fff;text-decoration:none;font-weight:900;cursor:pointer}.backend-btn--light{background:#eef7fa;color:#07546e}.backend-btn--danger{background:#fff0f2;color:#a01e2d}.backend-alert{padding:14px 16px;border-radius:14px;margin-bottom:18px;font-weight:800}.backend-alert--success{background:#e9fbf3;color:#08714f}.backend-alert--error{background:#fff0f2;color:#a01e2d}.backend-table-wrap{overflow:auto}.backend-table{width:100%;border-collapse:collapse;min-width:850px}.backend-table th,.backend-table td{text-align:left;padding:15px;border-bottom:1px solid #e7eef3}.backend-table th{background:#f3f8fb;color:#5e7184;font-size:.86rem;text-transform:uppercase;letter-spacing:.04em}.backend-status{display:inline-flex;padding:6px 10px;border-radius:99px;font-size:.78rem;font-weight:900}.backend-status--paid,.backend-status--active,.backend-status--succeeded{background:#e4f9ef;color:#08714f}.backend-status--pending,.backend-status--processing,.backend-status--requested{background:#fff6dd;color:#956500}.backend-status--failed,.backend-status--refunded,.backend-status--rejected,.backend-status--revoked{background:#fff0f2;color:#a01e2d}.backend-form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.backend-field{display:grid;gap:8px;margin-bottom:15px}.backend-field label{font-weight:900;color:#294256}.backend-field input,.backend-field select,.backend-field textarea{width:100%;border:1px solid #d5e1e8;border-radius:13px;padding:13px 14px;font:inherit;background:#fff}.backend-field textarea{min-height:110px;resize:vertical}.checkout-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);gap:28px}.checkout-summary{position:sticky;top:110px}.checkout-course{display:flex;gap:20px;align-items:center}.checkout-course img{width:160px;height:130px;object-fit:contain;background:#f2f8fb;border-radius:18px}.checkout-price{font-size:2rem;font-weight:900;color:#064c68}.auth-mini-main{min-height:100vh;padding:130px 20px 70px;background:#edf4f8}.auth-mini-card{max-width:760px;margin:auto;background:#fff;border-radius:26px;padding:clamp(24px,5vw,54px);box-shadow:0 24px 70px rgba(10,48,68,.12)}
@media(max-width:1100px){.backend-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.checkout-layout{grid-template-columns:1fr}.checkout-summary{position:static}}
@media(max-width:700px){.backend-grid,.backend-form-row{grid-template-columns:1fr}.backend-page-head{align-items:flex-start;flex-direction:column}.backend-card{padding:18px}.checkout-course{align-items:flex-start;flex-direction:column}.checkout-course img{width:100%;height:180px}}

/* Test QR administration */
.backend-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin-bottom:24px;padding:clamp(24px,4vw,40px);overflow:hidden;border:1px solid rgba(117,217,239,.22);border-radius:26px;color:#fff;background:radial-gradient(circle at 85% 0,rgba(117,217,239,.25),transparent 30%),linear-gradient(135deg,#063f59,#032d42);box-shadow:0 20px 55px rgba(3,45,66,.16)}
.backend-hero h1{margin:8px 0 8px;color:#fff;font-size:clamp(2rem,4vw,3.6rem);line-height:1.02;letter-spacing:-.045em}.backend-hero p{max-width:720px;margin:0;color:rgba(255,255,255,.74);font-size:1.02rem;font-weight:700;line-height:1.6}.backend-eyebrow{display:inline-flex;align-items:center;gap:8px;color:#0b789a;font-size:.73rem;font-weight:900;letter-spacing:.14em;text-transform:uppercase}.backend-hero .backend-eyebrow{color:#75d9ef}.backend-hero__stats{display:flex;gap:12px;flex:0 0 auto}.backend-hero__stats div{min-width:125px;padding:16px 18px;border:1px solid rgba(255,255,255,.13);border-radius:18px;background:rgba(255,255,255,.06);text-align:center}.backend-hero__stats strong{display:block;font-size:1.75rem}.backend-hero__stats span{color:rgba(255,255,255,.68);font-size:.75rem;font-weight:800}
.backend-grid--qr{grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);margin-bottom:22px}.backend-card__head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.backend-card__head h2,.backend-card>h2{margin:5px 0 0;font-size:1.55rem}.backend-form{display:grid}.backend-form__columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.backend-field>span{color:#294256;font-size:.84rem;font-weight:900}.backend-field small{color:#788995;font-size:.75rem}.backend-field input,.backend-field select,.backend-field textarea{font-size:.95rem}.backend-btn--primary{background:linear-gradient(135deg,#075a77,#063f59);box-shadow:0 12px 28px rgba(6,75,103,.2)}
.qr-created-card{margin-bottom:22px}.qr-created-card>div:first-child h2{margin:5px 0 8px}.qr-created-card>div:first-child p{margin:0;color:#6d7e8a}.qr-created-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:26px;align-items:center;margin-top:22px}.qr-render{width:126px;height:126px;padding:10px;border:1px solid #dce7ec;border-radius:18px;background:#fff;box-shadow:0 12px 28px rgba(12,52,72,.08)}.qr-render svg{display:block;width:100%;height:100%}.qr-render--large{width:220px;height:220px;padding:14px;border-radius:24px}.qr-created-actions{display:grid;gap:12px}.qr-created-actions label{font-weight:900;color:#294256}.qr-link-field{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.qr-link-field input{min-width:0;padding:13px 14px;border:1px solid #d5e1e8;border-radius:13px;background:#f8fbfc}.qr-link-field button,.qr-list-card__actions button{border:0;border-radius:11px;padding:10px 13px;color:#07546e;background:#eaf6f9;font-weight:900;cursor:pointer}
.qr-steps{display:grid;gap:16px;margin:24px 0;padding:0;list-style:none}.qr-steps li{display:flex;gap:13px;align-items:flex-start}.qr-steps li>strong{width:36px;height:36px;display:grid;place-items:center;flex:0 0 36px;border-radius:12px;color:#fff;background:#075a77}.qr-steps div{display:grid}.qr-steps b{color:#1b3444}.qr-steps span{margin-top:3px;color:#758692;font-size:.87rem;line-height:1.45}.qr-security-note{display:flex;gap:11px;padding:15px;border-radius:15px;color:#41606f;background:#eef8fa}.qr-security-note>span{width:28px;height:28px;display:grid;place-items:center;flex:0 0 28px;border-radius:50%;color:#fff;background:#20a36b;font-weight:900}.qr-security-note p{margin:0;font-size:.85rem;line-height:1.5}
.qr-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.qr-list-card{display:grid;grid-template-columns:126px minmax(0,1fr);gap:18px;padding:18px;border:1px solid #e0e9ee;border-radius:20px;background:#fbfdfe}.qr-list-card.is-disabled{opacity:.62}.qr-list-card__copy{min-width:0}.qr-list-card__badges{display:flex;flex-wrap:wrap;gap:6px}.qr-list-card__badges span{padding:5px 8px;border-radius:999px;color:#07546e;background:#e9f6f9;font-size:.66rem;font-weight:900;text-transform:uppercase}.qr-list-card__badges .is-muted{color:#7e8990;background:#eef1f3}.qr-list-card h3{margin:9px 0 3px;font-size:1.17rem}.qr-list-card p{margin:0;color:#758691;font-size:.83rem}.qr-list-card dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:14px 0}.qr-list-card dl div{display:grid}.qr-list-card dt{color:#8b98a1;font-size:.65rem;font-weight:800;text-transform:uppercase}.qr-list-card dd{margin:2px 0 0;color:#243e4e;font-size:.82rem;font-weight:900}.qr-list-card__actions{display:flex;flex-wrap:wrap;gap:7px}.qr-list-card__actions form{display:inline}.qr-list-card__actions .is-danger{color:#a42334;background:#fff0f2}.backend-empty{display:grid;place-items:center;min-height:180px;color:#7d8d97;text-align:center}.backend-empty strong{color:#304b5a;font-size:1.1rem}
@media(max-width:1150px){.qr-list{grid-template-columns:1fr}.backend-grid--qr{grid-template-columns:1fr}.qr-help-card{order:-1}}
@media(max-width:760px){.backend-hero{align-items:flex-start;flex-direction:column}.backend-hero__stats{width:100%}.backend-hero__stats div{flex:1;min-width:0}.backend-form__columns,.qr-created-layout{grid-template-columns:1fr}.qr-render--large{margin:auto}.qr-list-card{grid-template-columns:96px minmax(0,1fr)}.qr-list-card>.qr-render{width:96px;height:96px}.qr-list-card dl{grid-template-columns:repeat(2,minmax(0,1fr))}.qr-link-field{grid-template-columns:1fr}.qr-link-field button{min-height:44px}}
@media(max-width:480px){.qr-list-card{grid-template-columns:1fr}.qr-list-card>.qr-render{width:150px;height:150px;margin:auto}.backend-hero__stats{flex-direction:column}}

/* =========================================================
   ADMIN CRUD — admin-only management system
   ========================================================= */
.admin-crud-hero{background:radial-gradient(circle at 88% 10%,rgba(111,223,235,.28),transparent 28%),linear-gradient(135deg,#063f59 0%,#032d42 58%,#071f31 100%)}
.admin-crud-toolbar{display:flex;align-items:center;justify-content:space-between;gap:28px;margin-bottom:28px}.admin-crud-toolbar h2{margin:6px 0 0;font-size:1.45rem}.admin-crud-search{display:flex;align-items:center;gap:10px;width:min(480px,100%);padding:0 16px;border:1px solid #d5e4eb;border-radius:16px;background:#f8fbfc}.admin-crud-search span{font-size:1.35rem;color:#0b789a}.admin-crud-search input{width:100%;min-height:52px;border:0;outline:0;background:transparent;font:inherit;font-weight:800;color:#173447}
.admin-crud-groups{display:grid;gap:28px}.admin-crud-group{min-width:0}.admin-crud-group__head{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:15px}.admin-crud-group__head h2{margin:5px 0 3px;color:#102f43;font-size:1.55rem}.admin-crud-group__head p{margin:0;color:#728695;font-weight:700}.admin-crud-group__count{flex:0 0 auto;padding:7px 11px;border-radius:999px;color:#08708d;background:#eaf7fa;font-size:.78rem;font-weight:900}
.admin-crud-module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.admin-crud-module-card{position:relative;display:grid;grid-template-columns:52px minmax(0,1fr) auto;grid-template-areas:"icon body arrow" "icon actions arrow";gap:6px 14px;align-items:center;min-height:122px;padding:20px;border:1px solid #dfe9ef;border-radius:20px;background:#fff;color:inherit;text-decoration:none;box-shadow:0 10px 28px rgba(12,52,72,.05);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}.admin-crud-module-card:hover{transform:translateY(-3px);border-color:#8ed7e6;box-shadow:0 18px 38px rgba(6,63,89,.12)}.admin-crud-module-card__icon{grid-area:icon;width:52px;height:52px;display:grid;place-items:center;border-radius:16px;background:linear-gradient(135deg,#e6f7fa,#f4fbfc);font-size:1.45rem}.admin-crud-module-card__body{grid-area:body;display:grid;min-width:0}.admin-crud-module-card__body strong{overflow:hidden;color:#15364a;font-size:1rem;text-overflow:ellipsis;white-space:nowrap}.admin-crud-module-card__body small{margin-top:3px;color:#7a8d99;font-weight:800}.admin-crud-module-card__actions{grid-area:actions;display:flex;flex-wrap:wrap;gap:5px}.admin-crud-module-card__actions i{padding:4px 7px;border-radius:7px;color:#52707f;background:#f1f6f8;font-size:.62rem;font-style:normal;font-weight:900;text-transform:uppercase}.admin-crud-module-card__arrow{grid-area:arrow;color:#0a7898;font-size:1.35rem;font-weight:900}.admin-crud-no-results{margin-top:30px;border:1px dashed #c9d9e2;border-radius:20px;background:#fff}
.admin-crud-page-head{align-items:flex-start}.admin-crud-page-head h1{display:flex;align-items:center;gap:12px;margin-top:6px}.admin-crud-page-head h1>span{width:48px;height:48px;display:grid;place-items:center;border-radius:15px;background:#e9f7fa;font-size:1.25rem}.admin-crud-back{display:inline-flex;margin-bottom:15px;color:#0a718f;font-weight:900;text-decoration:none}.admin-crud-head-actions{display:flex;align-items:flex-end;justify-content:flex-end;flex-wrap:wrap;gap:10px}.admin-crud-module-switch{display:grid;gap:6px}.admin-crud-module-switch>span{color:#6f8390;font-size:.72rem;font-weight:900;text-transform:uppercase}.admin-crud-module-switch select{min-width:230px;min-height:44px;padding:0 12px;border:1px solid #d4e1e8;border-radius:12px;background:#fff;font:inherit;font-weight:800;color:#234557}
.admin-crud-form-card,.admin-crud-list-card{padding:clamp(18px,3vw,30px)}.admin-crud-record-id{padding:7px 11px;border-radius:999px;color:#617b8a;background:#edf4f7;font-size:.75rem;font-weight:900}.admin-crud-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 18px}.admin-crud-field--wide{grid-column:1/-1}.admin-crud-field input,.admin-crud-field select,.admin-crud-field textarea{outline:none;transition:border-color .18s ease,box-shadow .18s ease}.admin-crud-field input:focus,.admin-crud-field select:focus,.admin-crud-field textarea:focus{border-color:#49b9d0;box-shadow:0 0 0 4px rgba(73,185,208,.12)}.admin-crud-upload{display:grid;gap:5px;padding:12px;border:1px dashed #bed5df;border-radius:13px;background:#f6fafb}.admin-crud-upload input{padding:0;border:0;box-shadow:none!important;background:transparent}.admin-crud-current-image{width:180px;max-height:135px;object-fit:contain;padding:7px;border:1px solid #dce7ec;border-radius:13px;background:#fff}.admin-crud-form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px;padding-top:20px;border-top:1px solid #e6eef2}
.admin-crud-list-toolbar{display:flex;align-items:flex-end;flex-wrap:wrap;gap:10px;margin-bottom:18px}.admin-crud-list-toolbar>label{display:grid;gap:6px}.admin-crud-list-toolbar>label>span{color:#6d8190;font-size:.7rem;font-weight:900;text-transform:uppercase}.admin-crud-list-toolbar select{min-height:45px;padding:0 12px;border:1px solid #d4e1e8;border-radius:12px;background:#fff;font:inherit;font-weight:800;color:#294a5c}.admin-crud-list-search{display:flex!important;grid-template-columns:auto minmax(180px,1fr);align-items:center!important;gap:8px;flex:1 1 340px;min-height:47px;padding:0 13px;border:1px solid #d4e1e8;border-radius:13px;background:#f9fbfc}.admin-crud-list-search>span{font-size:1.3rem!important;color:#0b789a!important}.admin-crud-list-search input{width:100%;min-height:44px;border:0;outline:0;background:transparent;font:inherit;font-weight:800}.admin-crud-list-summary{display:flex;align-items:center;gap:7px;margin-bottom:12px;color:#718491;font-size:.84rem;font-weight:800}.admin-crud-list-summary strong{color:#0a6b88;font-size:1.2rem}.admin-crud-list-summary i{margin-left:auto;font-style:normal}.admin-crud-table-wrap{border:1px solid #e1e9ee;border-radius:16px}.admin-crud-table{min-width:1050px}.admin-crud-table th{position:sticky;top:0;z-index:1}.admin-crud-table th a{color:inherit;text-decoration:none}.admin-crud-table td{max-width:270px;color:#385564;font-size:.87rem;vertical-align:middle}.admin-crud-table tbody tr:hover{background:#fbfdfe}.admin-crud-relation{font-weight:900;color:#1b5268}.admin-crud-empty-value{color:#a3afb6}.admin-crud-file-value{display:flex;align-items:center;gap:9px}.admin-crud-file-value img{width:48px;height:42px;object-fit:contain;border:1px solid #dae5eb;border-radius:9px;background:#fff}.admin-crud-file-value small{max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-crud-inline-link{color:#087391;font-weight:900;text-decoration:none}.admin-crud-row-actions{display:flex;align-items:center;gap:7px;white-space:nowrap}.admin-crud-row-actions>a,.admin-crud-row-actions button{border:0;border-radius:9px;padding:8px 10px;font:inherit;font-size:.76rem;font-weight:900;cursor:pointer}.admin-crud-row-actions>a{color:#076d89;background:#eaf6f9;text-decoration:none}.admin-crud-row-actions button{color:#a22334;background:#fff0f2}.admin-crud-row-actions form{display:inline-flex}.admin-crud-pagination{display:flex;justify-content:center;flex-wrap:wrap;gap:7px;margin-top:20px}.admin-crud-pagination a{min-width:42px;height:42px;display:grid;place-items:center;padding:0 12px;border:1px solid #dce7ec;border-radius:11px;color:#315466;background:#fff;text-decoration:none;font-size:.84rem;font-weight:900}.admin-crud-pagination a.is-active{border-color:#075a77;color:#fff;background:#075a77}.admin-crud-pagination a.is-disabled{opacity:.42;pointer-events:none}
@media(max-width:1250px){.admin-crud-module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.admin-crud-toolbar,.admin-crud-page-head{align-items:stretch;flex-direction:column}.admin-crud-search{width:100%}.admin-crud-head-actions{justify-content:flex-start}.admin-crud-form-grid{grid-template-columns:1fr}.admin-crud-field--wide{grid-column:auto}.admin-crud-module-switch,.admin-crud-module-switch select{width:100%}}
@media(max-width:700px){.admin-crud-module-grid{grid-template-columns:1fr}.admin-crud-group__head{align-items:flex-start;flex-direction:column}.admin-crud-group__count{align-self:flex-start}.admin-crud-head-actions{display:grid;grid-template-columns:1fr}.admin-crud-head-actions .backend-btn{width:100%}.admin-crud-form-actions{flex-direction:column-reverse}.admin-crud-form-actions .backend-btn{width:100%}.admin-crud-list-toolbar{display:grid;grid-template-columns:1fr}.admin-crud-list-search{width:100%}.admin-crud-list-summary{flex-wrap:wrap}.admin-crud-list-summary i{width:100%;margin-left:0}.admin-crud-table-wrap{overflow:visible;border:0}.admin-crud-table{display:block;min-width:0}.admin-crud-table thead{display:none}.admin-crud-table tbody{display:grid;gap:14px}.admin-crud-table tr{display:grid;padding:15px;border:1px solid #dfe8ed;border-radius:16px;background:#fff;box-shadow:0 8px 22px rgba(17,49,70,.05)}.admin-crud-table td{display:grid;grid-template-columns:minmax(105px,.45fr) minmax(0,1fr);gap:12px;max-width:none;padding:9px 0;border-bottom:1px solid #edf2f5}.admin-crud-table td::before{content:attr(data-label);color:#7b8d98;font-size:.67rem;font-weight:900;text-transform:uppercase}.admin-crud-table td:last-child{border-bottom:0}.admin-crud-row-actions{display:flex!important;grid-template-columns:none!important;padding-top:12px!important}.admin-crud-row-actions::before{display:none}.admin-crud-pagination{justify-content:flex-start;overflow:auto;padding-bottom:6px}}
@media(max-width:460px){.admin-crud-module-card{grid-template-columns:45px minmax(0,1fr) auto;padding:16px}.admin-crud-module-card__icon{width:45px;height:45px}.admin-crud-module-card__actions{display:none}.admin-crud-current-image{width:100%;height:150px}.admin-crud-table td{grid-template-columns:1fr}.admin-crud-table td::before{margin-bottom:2px}}


/* =========================================================
   THEORY LINKS, PROFILE QR, AVATAR UPLOAD, QUIZ REVIEW
   ========================================================= */
.theory-category-card{display:flex;flex-direction:column;min-height:300px;color:inherit;text-decoration:none;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}.theory-category-card:hover{transform:translateY(-4px);border-color:#8bd5e4;box-shadow:0 20px 45px rgba(6,63,89,.12)}.theory-category-card__top{display:flex;align-items:center;justify-content:space-between;gap:14px}.theory-category-card__arrow{width:42px;height:42px;display:grid;place-items:center;border-radius:14px;color:#07546e;background:#eaf7fa;font-size:1.35rem;font-weight:900}.theory-category-card h2{margin:18px 0 8px;font-size:1.65rem}.theory-category-card p{color:#647989;line-height:1.65}.theory-category-card .backend-course-card__meta strong{color:#07546e}.theory-chapter-card{display:grid;grid-template-columns:104px minmax(0,1fr);align-items:center;gap:18px;color:inherit;text-decoration:none;transition:transform .2s ease,border-color .2s ease}.theory-chapter-card:hover{transform:translateY(-3px);border-color:#83d0df}.theory-chapter-card img{width:104px;height:104px;object-fit:contain;padding:10px;border-radius:20px;background:#f1f8fa}.theory-chapter-card small{color:#0b718c;font-weight:900}.theory-chapter-card h3{margin:.35rem 0;font-size:1.2rem}.theory-chapter-card p{margin:.25rem 0;color:#718493;line-height:1.45}.theory-chapter-card span{color:#07546e;font-size:.84rem;font-weight:900}.chapter-empty{grid-column:1/-1;min-height:240px}

.generic-chapter-hero{padding-top:150px;padding-bottom:56px;background:radial-gradient(circle at 84% 8%,rgba(81,198,220,.26),transparent 28%),linear-gradient(135deg,#063f59,#052d43);color:#fff}.generic-chapter-hero .theory-breadcrumb,.generic-chapter-hero .theory-breadcrumb a,.generic-chapter-hero .theory-breadcrumb strong{color:rgba(255,255,255,.82)}.generic-chapter-hero__layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,360px);align-items:center;gap:44px;margin-top:30px}.generic-chapter-hero h1{margin:14px 0;font-size:clamp(2.4rem,6vw,5rem);line-height:1.02}.generic-chapter-hero p{max-width:780px;color:rgba(255,255,255,.78);font-size:1.1rem;line-height:1.7}.generic-chapter-hero__layout>img{width:100%;height:300px;object-fit:contain;padding:24px;border:1px solid rgba(255,255,255,.14);border-radius:28px;background:rgba(255,255,255,.08)}.generic-chapter-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}.chapter-reading-card{max-width:960px;margin:auto;padding:clamp(26px,5vw,54px)}.chapter-reading-card h2{font-size:clamp(2rem,4vw,3.5rem)}.chapter-reading-card p{color:#405b6b;font-size:1.05rem;line-height:1.85}.chapter-reading-note{margin-top:24px;padding:18px;border-radius:16px;color:#315668;background:#edf8fa;font-weight:800}.related-question-section{margin-top:60px}.related-question-grid{display:grid;gap:14px}.related-question-card{display:grid;grid-template-columns:50px 130px minmax(0,1fr);align-items:center;gap:18px;padding:18px;border:1px solid #e0e9ef;border-radius:20px;background:#fff;box-shadow:0 10px 28px rgba(12,52,72,.05)}.related-question-card>span{width:50px;height:50px;display:grid;place-items:center;border-radius:15px;color:#fff;background:#07546e;font-weight:900}.related-question-card img{width:130px;height:95px;object-fit:contain;border-radius:14px;background:#f3f8fb}.related-question-card h3{margin:0;color:#18384a;font-size:1.05rem}.related-question-card p{margin:7px 0 0;color:#6d8190}

.profile-dashboard-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.profile-identity-card{text-align:center}.profile-avatar-large{width:132px;height:132px;object-fit:cover;border:7px solid #eef7fa;border-radius:50%;box-shadow:0 14px 34px rgba(6,63,89,.12)}.profile-stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.profile-stat-grid strong{font-size:2rem;color:#07546e}.profile-stat-grid p{margin:.25rem 0;color:#718493}.profile-qr-card{display:flex;flex-direction:column;align-items:center;text-align:center}.profile-qr-card h2{margin:8px 0}.profile-qr-card p{color:#6d8190}.profile-qr-render{margin:18px auto}.profile-qr-actions,.profile-quick-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}.profile-avatar-editor{display:grid;grid-template-columns:140px minmax(0,1fr);align-items:center;gap:22px;margin:18px 0 24px;padding:18px;border:1px solid #dfe9ee;border-radius:20px;background:#f8fbfc}.profile-avatar-editor>img{width:140px;height:140px;object-fit:cover;border-radius:50%;border:6px solid #fff;box-shadow:0 12px 30px rgba(7,69,94,.12)}.profile-avatar-editor strong{display:block;color:#1d3d4f;font-size:1.1rem}.profile-avatar-editor p{margin:5px 0 13px;color:#758793}.profile-upload-button{display:inline-flex;position:relative;align-items:center;justify-content:center;padding:11px 15px;border-radius:12px;color:#fff;background:#07546e;font-weight:900;cursor:pointer}.profile-upload-button input{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0}.profile-remove-avatar{display:flex;align-items:center;gap:8px;margin-top:12px;color:#6d7e8a;font-size:.86rem;font-weight:800}.profile-remove-avatar input{width:auto}.account-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.account-danger-card{grid-column:1/-1;border-color:#ffd1d6}.backend-btn--small{padding:9px 12px;border-radius:10px;font-size:.8rem}.test-history-source{display:inline-flex;padding:6px 9px;border-radius:999px;color:#536f7f;background:#eef4f7;font-size:.72rem;font-weight:900}.test-history-source--qr{color:#087392;background:#e7f7fa}

.review-page-head{align-items:flex-start}.review-head-actions{display:flex;flex-wrap:wrap;gap:10px}.review-summary-grid{display:grid;grid-template-columns:1.5fr repeat(3,minmax(0,1fr));gap:18px;margin-bottom:20px}.review-summary-card{display:flex;flex-direction:column;justify-content:center;min-height:170px}.review-summary-card--primary{color:#fff;background:radial-gradient(circle at 90% 10%,rgba(109,221,239,.28),transparent 30%),linear-gradient(135deg,#063f59,#032d42)}.review-summary-card--primary h2,.review-summary-card--primary p,.review-summary-card--primary .review-summary-card__label{color:#fff}.review-summary-card__label{color:#7a8e9b;font-size:.72rem;font-weight:900;letter-spacing:.1em;text-transform:uppercase}.review-summary-card h2{margin:10px 0 5px}.review-summary-card>strong{display:block;margin:10px 0;color:#07546e;font-size:2.3rem}.review-summary-card p{margin:0;color:#718493}.review-qr-card{display:grid;grid-template-columns:minmax(0,1fr) 230px;align-items:center;gap:28px;margin-bottom:28px}.review-qr-card__copy h2{margin:8px 0}.review-qr-card__copy>p{max-width:760px;color:#6d8190;line-height:1.6}.review-qr-meta{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.review-qr-meta span{padding:8px 11px;border-radius:999px;color:#4e6c7a;background:#eef6f8;font-size:.78rem}.review-qr-actions{display:flex;flex-wrap:wrap;gap:10px}.review-qr-render{justify-self:end}.review-question-section{margin-top:24px}.review-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:18px}.review-section-head h2{margin:6px 0 0;color:#102f43;font-size:2rem}.review-legend{display:flex;flex-wrap:wrap;gap:8px}.review-legend span{padding:7px 10px;border-radius:999px;font-size:.72rem;font-weight:900}.review-legend .is-correct{color:#08714f;background:#e5f9ef}.review-legend .is-wrong{color:#a01e2d;background:#fff0f2}.review-legend .is-empty{color:#687d8a;background:#eef3f5}.review-question-list{display:grid;gap:16px}.review-question-card{display:grid;grid-template-columns:54px 180px minmax(0,1fr);gap:18px;align-items:start;padding:20px;border:1px solid #dfe8ed;border-left-width:6px;border-radius:22px;background:#fff;box-shadow:0 12px 34px rgba(13,54,73,.06)}.review-question-card.is-correct{border-left-color:#25a671}.review-question-card.is-wrong{border-left-color:#e25b68}.review-question-card.is-empty{border-left-color:#a9b8c1}.review-question-card__number{width:54px;height:54px;display:grid;place-items:center;border-radius:16px;color:#fff;background:#07546e;font-size:1.15rem;font-weight:900}.review-question-card__media img{width:180px;height:130px;object-fit:contain;border-radius:16px;background:#f3f8fb}.review-question-card__body{min-width:0}.review-question-card__top{display:flex;align-items:center;justify-content:space-between;gap:12px}.review-question-card__top span{color:#748793;font-size:.75rem;font-weight:900}.review-question-card__top strong{padding:6px 9px;border-radius:999px;font-size:.7rem}.review-question-card.is-correct .review-question-card__top strong{color:#08714f;background:#e5f9ef}.review-question-card.is-wrong .review-question-card__top strong{color:#a01e2d;background:#fff0f2}.review-question-card.is-empty .review-question-card__top strong{color:#687d8a;background:#eef3f5}.review-question-card h3{margin:11px 0 15px;color:#19394b;font-size:1.08rem;line-height:1.55}.review-answer-comparison{display:grid;grid-template-columns:1fr 1fr;gap:10px}.review-answer-comparison>div{padding:13px 14px;border-radius:14px;background:#f3f8fb}.review-answer-comparison span{display:block;color:#7b8d99;font-size:.68rem;font-weight:900;text-transform:uppercase}.review-answer-comparison strong{display:block;margin-top:4px;color:#183b4e}.review-explanation{margin-top:12px;border:1px solid #dfe9ee;border-radius:14px;background:#fbfdfe}.review-explanation summary{padding:12px 14px;color:#07546e;font-weight:900;cursor:pointer}.review-explanation p{margin:0;padding:0 14px 14px;color:#5f7481;line-height:1.65}

@media(max-width:1300px){.profile-dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.review-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.review-summary-card--primary{grid-column:1/-1}}
@media(max-width:950px){.generic-chapter-hero__layout{grid-template-columns:1fr}.generic-chapter-hero__layout>img{max-width:420px}.related-question-card{grid-template-columns:50px minmax(0,1fr)}.related-question-card img{grid-column:2;width:100%;max-width:300px}.review-qr-card{grid-template-columns:1fr}.review-qr-render{justify-self:center}.review-question-card{grid-template-columns:54px minmax(0,1fr)}.review-question-card__media{grid-column:2}.review-question-card__media img{width:100%;max-width:300px}.review-question-card__body{grid-column:1/-1}}
@media(max-width:700px){.theory-chapter-card{grid-template-columns:82px minmax(0,1fr)}.theory-chapter-card img{width:82px;height:82px}.profile-dashboard-grid,.account-settings-grid,.review-summary-grid{grid-template-columns:1fr}.review-summary-card--primary{grid-column:auto}.profile-avatar-editor{grid-template-columns:1fr;text-align:center}.profile-avatar-editor>img{margin:auto}.profile-upload-button{width:100%}.profile-remove-avatar{justify-content:center}.account-danger-card{grid-column:auto}.review-page-head,.review-section-head{align-items:flex-start;flex-direction:column}.review-head-actions,.review-qr-actions{width:100%}.review-head-actions .backend-btn,.review-qr-actions .backend-btn{flex:1}.review-question-card{grid-template-columns:44px minmax(0,1fr);padding:15px}.review-question-card__number{width:44px;height:44px}.review-answer-comparison{grid-template-columns:1fr}.generic-chapter-hero{padding-top:118px}.generic-chapter-actions{display:grid}.generic-chapter-actions .backend-btn{width:100%}}
@media(max-width:480px){.profile-dashboard-grid{grid-template-columns:1fr}.profile-qr-actions,.profile-quick-actions{display:grid;width:100%}.profile-qr-actions .backend-btn,.profile-quick-actions .backend-btn{width:100%}.review-question-card__top{align-items:flex-start;flex-direction:column}.review-question-card__media{grid-column:1/-1}.review-question-card__body{grid-column:1/-1}.review-question-card__media img{max-width:none}.related-question-card{grid-template-columns:1fr}.related-question-card>span,.related-question-card img{grid-column:auto}.related-question-card img{max-width:none}}


/* =========================================================
   PAYMENT METHODS + FREE PLAN ADMIN
   ========================================================= */
.payment-methods{display:grid;grid-template-columns:repeat(auto-fit,minmax(115px,1fr));gap:9px;margin:22px 0 16px;padding:6px;border-radius:16px;background:#eef5f8}
.payment-method{border:0;border-radius:12px;padding:11px 12px;color:#587080;background:transparent;font:inherit;font-weight:900;cursor:pointer}.payment-method.is-active{color:#fff;background:#07546e;box-shadow:0 8px 18px rgba(7,84,110,.18)}
.payment-panel{display:none}.payment-panel.is-active{display:block}.payment-note{margin:12px 0 0;color:#718493;font-size:.82rem;line-height:1.5}.checkout-summary-row{display:flex;justify-content:space-between;gap:18px;padding:12px 0;border-bottom:1px solid #e6eef2}.checkout-summary-row--total{align-items:end;border-bottom:0;padding-top:18px}
.backend-alert--warning{color:#8a5a00;background:#fff6dc;border:1px solid #f2d68c}
.payment-success-card{max-width:760px;margin:auto;text-align:center;padding:clamp(28px,5vw,54px)}.payment-success-icon{width:88px;height:88px;display:grid;place-items:center;margin:0 auto 18px;border-radius:50%;color:#08714f;background:#e6faef;font-size:2.7rem}.payment-success-card h1{margin:10px 0}.payment-success-card>p{max-width:560px;margin:0 auto 24px;color:#6d8190}.payment-success-summary{display:grid;grid-template-columns:1fr auto;gap:10px 22px;max-width:480px;margin:22px auto;padding:18px;border-radius:17px;text-align:left;background:#f3f8fa}.payment-success-summary span{color:#738794}.payment-success-summary strong{text-align:right}.payment-success-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}
.free-plan-activation{display:grid;grid-template-columns:minmax(260px,.75fr) minmax(0,1.25fr);gap:36px;align-items:center;max-width:1050px;margin:auto;padding:clamp(24px,4vw,46px)}.free-plan-activation__media{position:relative;display:grid;place-items:center;min-height:360px;border-radius:24px;background:radial-gradient(circle at 50% 20%,rgba(112,235,204,.32),transparent 40%),linear-gradient(145deg,#07546e,#0a8688)}.free-plan-activation__media img{width:min(86%,380px);height:300px;object-fit:contain}.free-plan-label{position:absolute;top:18px;left:18px;padding:8px 12px;border-radius:999px;color:#075445;background:#d9fff1;font-weight:900;letter-spacing:.08em}.free-plan-activation__copy h1{margin:9px 0;font-size:clamp(2rem,4vw,3.5rem)}.free-plan-activation__copy>p{color:#647a88;line-height:1.7}.free-plan-limit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:24px 0}.free-plan-limit-grid div{padding:17px;border:1px solid #dbe9ed;border-radius:17px;background:#f7fbfc}.free-plan-limit-grid strong{display:block;color:#07546e;font-size:1.7rem}.free-plan-limit-grid span{color:#718493;font-size:.76rem;font-weight:800}.free-plan-activation form{display:flex;flex-wrap:wrap;gap:10px}
.admin-feature-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:22px}.admin-feature-link{display:grid;grid-template-columns:54px minmax(0,1fr) auto;gap:15px;align-items:center;padding:18px 20px;border:1px solid #dce7ec;border-radius:20px;color:#18394a;background:#fff;text-decoration:none;box-shadow:0 12px 32px rgba(8,48,67,.06)}.admin-feature-link>span{width:54px;height:54px;display:grid;place-items:center;border-radius:16px;color:#fff;background:#07546e;font-size:1.5rem}.admin-feature-link strong,.admin-feature-link small{display:block}.admin-feature-link small{margin-top:4px;color:#748794}.admin-feature-link>b{color:#07546e}.admin-feature-link--free{border-color:#b7e8d9;background:linear-gradient(135deg,#fff,#f0fff9)}.admin-feature-link--free>span{background:#0a8a68}
.free-plan-admin-form{display:grid;gap:20px}.free-plan-basic-card .backend-form-row{grid-template-columns:1fr 180px 180px}.free-plan-field-wide{grid-column:1/-1}.free-plan-default-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.free-plan-default-grid label{display:grid;gap:8px;padding:18px;border:1px solid #dce8ed;border-radius:17px;background:#f7fbfc}.free-plan-default-grid span{font-weight:900}.free-plan-default-grid input,.free-plan-rule-row input{width:100%;border:1px solid #d2e0e6;border-radius:12px;padding:12px 13px;font:inherit}.free-plan-default-grid small{color:#778a96}.free-plan-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.free-plan-rule-list{display:grid;gap:9px;max-height:720px;overflow:auto;padding-right:4px}.free-plan-rule-row{display:grid;grid-template-columns:minmax(0,1fr) 135px;gap:14px;align-items:center;padding:13px;border:1px solid #e0e9ed;border-radius:14px;background:#fbfdfe}.free-plan-rule-row b,.free-plan-rule-row small{display:block}.free-plan-rule-row small{margin-top:3px;color:#7b8c96;font-size:.72rem}.free-plan-savebar{position:sticky;z-index:6;bottom:16px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 20px;border:1px solid rgba(95,217,187,.4);border-radius:18px;color:#fff;background:rgba(5,63,83,.96);box-shadow:0 18px 45px rgba(4,48,66,.24);backdrop-filter:blur(12px)}.free-plan-savebar strong,.free-plan-savebar span{display:block}.free-plan-savebar span{margin-top:3px;color:rgba(255,255,255,.7);font-size:.78rem}.paypal-admin-note{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:20px}.paypal-admin-note h2{margin:7px 0}.paypal-admin-note p{margin:0;color:#657b87}.paypal-admin-note code{padding:3px 6px;border-radius:6px;background:#eef5f7}
.chapter-card--locked{position:relative;filter:saturate(.72)}.chapter-card--locked::after{content:"PAKETA FALAS";position:absolute;top:13px;right:13px;padding:5px 8px;border-radius:999px;color:#fff;background:#07546e;font-size:.62rem;font-weight:900;letter-spacing:.06em}.chapter-card--locked .chapter-card__media img{opacity:.68}.chapter-card--locked .chapter-card__action{color:#8a5a00}
@media(max-width:1050px){.free-plan-admin-grid{grid-template-columns:1fr}.free-plan-activation{grid-template-columns:1fr}.free-plan-activation__media{min-height:300px}.free-plan-basic-card .backend-form-row{grid-template-columns:1fr 1fr}.free-plan-field-wide{grid-column:1/-1}}
@media(max-width:700px){.payment-methods,.free-plan-limit-grid,.free-plan-default-grid,.admin-feature-links{grid-template-columns:1fr}.free-plan-basic-card .backend-form-row{grid-template-columns:1fr}.free-plan-field-wide{grid-column:auto}.free-plan-rule-row{grid-template-columns:1fr}.free-plan-savebar,.paypal-admin-note{align-items:stretch;flex-direction:column}.free-plan-savebar .backend-btn,.paypal-admin-note .backend-btn{width:100%}.admin-feature-link{grid-template-columns:48px minmax(0,1fr)}.admin-feature-link>b{grid-column:2}.free-plan-activation form{display:grid}.free-plan-activation form .backend-btn{width:100%}}

/* Guest trial/session limits */
.guest-trial-admin-card{overflow:hidden;background:linear-gradient(145deg,#fff 0%,#f4fbfc 100%)}
.guest-trial-admin-badge{display:inline-flex;align-items:center;justify-content:center;min-width:92px;padding:8px 13px;border-radius:999px;color:#07556a;background:#d8f7f3;font-size:.72rem;font-weight:900;letter-spacing:.1em}
.guest-trial-admin-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.guest-trial-admin-grid .backend-field{display:grid;gap:8px;padding:16px;border:1px solid #dce9ed;border-radius:17px;background:#fff}
.guest-trial-admin-grid .backend-field>span{font-weight:900;color:#173043}
.guest-trial-admin-grid .backend-field small{color:#758994;line-height:1.45}
.guest-trial-admin-grid input,.guest-trial-admin-grid select,.guest-trial-admin-grid textarea{width:100%;border:1px solid #d2e0e6;border-radius:12px;padding:12px 13px;background:#fbfdfe;font:inherit;outline:none}
.guest-trial-admin-grid input:focus,.guest-trial-admin-grid select:focus,.guest-trial-admin-grid textarea:focus{border-color:#13a4a7;box-shadow:0 0 0 3px rgba(19,164,167,.12)}
.guest-trial-admin-wide{grid-column:span 2}
.guest-trial-flow{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px;margin-top:18px;padding:15px;border-radius:16px;color:#e9ffff;background:linear-gradient(135deg,#073f59,#087d83)}
.guest-trial-flow span{padding:7px 11px;border:1px solid rgba(255,255,255,.19);border-radius:999px;background:rgba(255,255,255,.08);font-size:.8rem;font-weight:900}
.guest-trial-flow b{color:#6de2ce}
@media(max-width:1100px){.guest-trial-admin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.guest-trial-admin-grid{grid-template-columns:1fr}.guest-trial-admin-wide{grid-column:auto}.guest-trial-flow{justify-content:flex-start}}


/* Theory category images managed from Admin CRUD */
.theory-category-card__media{display:grid;place-items:center;min-height:150px;margin:-4px 0 14px;padding:14px;border-radius:20px;background:linear-gradient(145deg,#f3f9fb,#eaf3f7);overflow:hidden}
.theory-category-card__media img{display:block;width:100%;height:135px;object-fit:contain;filter:drop-shadow(0 12px 16px rgba(6,63,89,.12))}
@media(max-width:720px){.theory-category-card__media{min-height:130px}.theory-category-card__media img{height:115px}}

/* =========================================================
   AUTOSHKOLLA LEAD MARKETPLACE — manual purchase + privacy
   ========================================================= */
.school-leads-head{align-items:center}
.school-leads-eyebrow{display:inline-flex;margin-bottom:8px;color:#0a8090;font-size:.74rem;font-weight:900;letter-spacing:.14em}
.school-leads-school-badge{display:inline-flex;align-items:center;gap:8px;padding:11px 15px;border:1px solid #cfe4e9;border-radius:999px;color:#07546e;background:#f4fbfc;font-weight:900}
.school-admin-school-picker{margin-bottom:22px}.school-admin-school-picker .backend-field{margin:0;max-width:560px}
.school-leads-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}
.school-leads-stats article{position:relative;overflow:hidden;padding:20px 22px;border:1px solid #dce8ed;border-radius:20px;background:linear-gradient(145deg,#fff,#f4fafc);box-shadow:0 14px 32px rgba(17,49,70,.06)}
.school-leads-stats article::after{content:"";position:absolute;right:-28px;bottom:-36px;width:90px;height:90px;border-radius:50%;background:rgba(38,189,198,.1)}
.school-leads-stats span{display:block;color:#758796;font-size:.8rem;font-weight:900;text-transform:uppercase;letter-spacing:.05em}
.school-leads-stats strong{display:block;margin-top:7px;color:#063f59;font-size:2rem;line-height:1}
.school-leads-filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:22px;padding:8px;border:1px solid #dce8ed;border-radius:17px;background:#fff}
.school-leads-filters a{padding:10px 13px;border-radius:11px;color:#627786;text-decoration:none;font-size:.82rem;font-weight:900}
.school-leads-filters a:hover,.school-leads-filters a.is-active{color:#fff;background:#07546e}
.school-leads-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.school-lead-card{display:flex;flex-direction:column;gap:18px;padding:23px;border:1px solid #dbe7ec;border-radius:24px;background:#fff;box-shadow:0 18px 42px rgba(17,49,70,.07)}
.school-lead-card.is-locked{background:linear-gradient(145deg,#fff,#f8fbfc)}
.school-lead-card.is-unlocked{border-color:#b9e2d7;background:linear-gradient(145deg,#fff,#f2fcf8)}
.school-lead-card__header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.school-lead-card__header h2{margin:6px 0 0;font-size:1.45rem}.school-lead-reference{color:#8193a0;font-size:.72rem;font-weight:900;letter-spacing:.09em}
.school-lead-access{display:inline-flex;align-items:center;justify-content:center;padding:7px 10px;border-radius:999px;color:#8c6200;background:#fff4d5;font-size:.7rem;font-weight:900;white-space:nowrap}
.school-lead-access.is-open{color:#08714f;background:#e4f9ef}
.school-lead-card__details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.school-lead-card__details>div{min-width:0;padding:13px;border:1px solid #e0e9ee;border-radius:14px;background:rgba(249,252,253,.9)}
.school-lead-card__details span{display:block;margin-bottom:5px;color:#83939e;font-size:.7rem;font-weight:900;text-transform:uppercase;letter-spacing:.05em}
.school-lead-card__details strong{display:block;overflow:hidden;color:#153044;font-size:.94rem;text-overflow:ellipsis;white-space:nowrap}
.school-lead-privacy-note{display:flex;align-items:flex-start;gap:12px;padding:14px;border:1px dashed #bedce3;border-radius:15px;color:#506e7a;background:#eff9fb}
.school-lead-privacy-note>span{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:10px;background:#d8f1f4}.school-lead-privacy-note p{margin:0;line-height:1.5;font-size:.82rem;font-weight:700}
.school-lead-card__purchase{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:auto;padding-top:5px}
.school-lead-card__purchase span{display:block;color:#7a8d99;font-size:.72rem;font-weight:900;text-transform:uppercase}.school-lead-card__purchase strong{display:block;margin-top:3px;color:#063f59;font-size:1.35rem}
.school-lead-contact-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.school-lead-status-form{display:grid;grid-template-columns:180px minmax(0,1fr) auto;gap:10px;align-items:end;padding-top:16px;border-top:1px solid #dfeae5}
.school-lead-status-form label{display:grid;gap:7px}.school-lead-status-form label>span{color:#506a77;font-size:.75rem;font-weight:900}.school-lead-status-form select,.school-lead-status-form input{width:100%;border:1px solid #cfdee4;border-radius:12px;padding:11px 12px;background:#fff;font:inherit}
.school-leads-empty{text-align:center}.school-leads-empty__icon{display:grid;place-items:center;width:70px;height:70px;margin:0 auto 14px;border-radius:22px;background:#e9f7f8;font-size:2rem}.school-leads-empty p{color:#6e8290}.school-leads-empty__actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.school-leads-empty--inside-grid{grid-column:1/-1}
.school-checkout-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);gap:22px;align-items:start}
.school-checkout-card,.school-checkout-summary{padding:28px}.school-checkout-preview{display:flex;align-items:center;gap:18px;padding:20px;border-radius:20px;background:linear-gradient(135deg,#073f59,#087d83);color:#fff}.school-checkout-preview__icon{display:grid;place-items:center;flex:0 0 62px;width:62px;height:62px;border-radius:18px;background:rgba(255,255,255,.12);font-size:1.8rem}.school-checkout-preview span{color:#a8e6e8;font-size:.72rem;font-weight:900;letter-spacing:.11em}.school-checkout-preview h2{margin:4px 0;color:#fff}.school-checkout-preview p{margin:0;color:#d6eff0}
.school-checkout-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}.school-checkout-facts>div{padding:15px;border:1px solid #dce8ed;border-radius:15px;background:#f8fbfc}.school-checkout-facts span{display:block;color:#81919c;font-size:.72rem;font-weight:900;text-transform:uppercase}.school-checkout-facts strong{display:block;margin-top:5px;color:#163044}.school-checkout-privacy-note{margin-top:18px}
.school-checkout-summary{position:sticky;top:100px}.school-checkout-summary__label{color:#80929e;font-size:.72rem;font-weight:900;letter-spacing:.12em}.school-checkout-summary__amount{display:block;margin:8px 0 14px;color:#063f59;font-size:2.4rem}.school-checkout-summary>p{color:#6f828f;line-height:1.55}.school-checkout-manual-note{margin:12px 0 0!important;padding:10px 12px;border-radius:12px;color:#6a5600!important;background:#fff8dd;font-size:.76rem;font-weight:800}
@media(max-width:1100px){.school-leads-grid{grid-template-columns:1fr}.school-leads-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.school-checkout-layout{grid-template-columns:1fr}.school-checkout-summary{position:static}}
@media(max-width:760px){.school-leads-head{align-items:flex-start}.school-leads-school-badge{align-self:flex-start}.school-leads-stats{grid-template-columns:1fr 1fr}.school-lead-card__header,.school-lead-card__purchase{align-items:flex-start;flex-direction:column}.school-lead-card__details{grid-template-columns:1fr 1fr}.school-lead-card__purchase .backend-btn{width:100%}.school-lead-status-form{grid-template-columns:1fr}.school-lead-status-form .backend-btn{width:100%}.school-checkout-facts{grid-template-columns:1fr}.school-checkout-card,.school-checkout-summary{padding:20px}}
@media(max-width:480px){.school-leads-stats{grid-template-columns:1fr}.school-lead-card__details,.school-lead-contact-actions{grid-template-columns:1fr}.school-lead-access{white-space:normal}.school-checkout-preview{align-items:flex-start;flex-direction:column}}

/* School billing: PayPal + Stripe manual checkout */
.school-payment-methods{display:grid;gap:14px;margin-top:20px}
.school-payment-method{padding:16px;border:1px solid #dce8ed;border-radius:18px;background:#f9fcfd}
.school-payment-method__head{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.school-payment-method__head strong{display:block;color:#123047;font-size:1rem}
.school-payment-method__head small{display:block;margin-top:3px;color:#788d9b;line-height:1.4}
.school-payment-method__icon{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border-radius:14px;background:#e7f4f6;color:#075b75;font-size:1.15rem;font-weight:900}
.school-payment-method--stripe{border-color:#d9d6ff;background:linear-gradient(145deg,#fbfaff,#f6f8ff)}
.school-payment-method--stripe .school-payment-method__icon{background:#635bff;color:#fff}
.school-payment-method--paypal{border-color:#cfe5ff;background:linear-gradient(145deg,#fbfdff,#f3f9ff)}
.school-payment-method--paypal .school-payment-method__icon{background:#003087;color:#fff}
.backend-btn--stripe{width:100%;border-color:#635bff;background:#635bff;color:#fff}
.backend-btn--stripe:hover{border-color:#5149e8;background:#5149e8;color:#fff}
.school-payment-result{max-width:760px;margin:30px auto;padding:42px;text-align:center}
.school-payment-result__icon{display:grid;place-items:center;width:74px;height:74px;margin:0 auto 18px;border-radius:50%;background:#dcf7e9;color:#08754b;font-size:2rem;font-weight:900}
.school-payment-result.is-pending .school-payment-result__icon{background:#fff1d7;color:#9a5b00}
.school-payment-result h1{margin:8px 0 12px;color:#123047}
.school-payment-result>p{max-width:590px;margin:0 auto 22px;color:#6f828f;line-height:1.65}
@media(max-width:600px){.school-payment-result{padding:26px 20px}.school-payment-method__head{align-items:flex-start}}


/* Free checkout method */
.payment-method--free{color:#087458}.payment-method--free.is-active{background:linear-gradient(135deg,#078365,#0a6572);box-shadow:0 8px 18px rgba(7,131,101,.22)}
.checkout-price--free{color:#078365}.free-checkout-info{display:grid;gap:4px;margin-top:22px;padding:17px 18px;border:1px solid rgba(7,131,101,.2);border-radius:16px;background:linear-gradient(135deg,#effff8,#f7fffc)}.free-checkout-info strong{color:#07684f}.free-checkout-info span{color:#647d73;font-size:.86rem;line-height:1.5}
.free-payment-panel{display:flex;align-items:center;gap:13px;margin-bottom:16px;padding:15px;border:1px solid rgba(7,131,101,.2);border-radius:16px;background:#f1fff9}.free-payment-panel__icon{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;border-radius:14px;color:#fff;background:linear-gradient(135deg,#0a9b75,#087064);font-size:1.25rem;font-weight:900}.free-payment-panel strong{display:block;color:#075c49}.free-payment-panel p{margin:3px 0 0;color:#6b8279;font-size:.8rem;line-height:1.45}.backend-btn--free{background:linear-gradient(135deg,#078365,#0a6572);box-shadow:0 12px 24px rgba(7,131,101,.18)}

/* Admin CRUD — Clear cache quick action */
.admin-feature-links{grid-template-columns:repeat(3,minmax(0,1fr))}
.admin-cache-feature-form{margin:0;font:inherit;cursor:default}
.admin-cache-feature-form>span{background:linear-gradient(135deg,#f0a51c,#db7a12)}
.admin-cache-feature-form>div{min-width:0}
.admin-cache-feature-form select{width:100%;margin-top:10px;padding:9px 11px;border:1px solid #d5e3e9;border-radius:11px;background:#fff;color:#244556;font:inherit;font-size:.8rem;font-weight:800}
.admin-cache-feature-form>button{align-self:center;border:0;border-radius:12px;padding:11px 14px;color:#fff;background:#07546e;font:inherit;font-size:.82rem;font-weight:900;white-space:nowrap;cursor:pointer}
.admin-cache-feature-form>button:hover{background:#063f59}
.backend-btn--cache{border:1px solid #f0c87e;background:#fff8e8;color:#8a5700;box-shadow:none}
.backend-btn--cache:hover{background:#ffefc9;color:#714700}
.admin-crud-cache-form{display:inline-flex;margin:0}
@media(max-width:1050px){.admin-feature-links{grid-template-columns:1fr 1fr}.admin-cache-feature-form{grid-column:1/-1}}
@media(max-width:700px){.admin-feature-links{grid-template-columns:1fr}.admin-cache-feature-form{grid-column:auto;grid-template-columns:48px minmax(0,1fr)}.admin-cache-feature-form>button{grid-column:2;width:100%}.admin-crud-cache-form,.admin-crud-cache-form .backend-btn{width:100%}}

/* Të interesuarit: sinjalizo autoshkollën më të afërt */
.school-lead-card.is-nearest{border-color:#35a9b5;box-shadow:0 22px 54px rgba(7,103,126,.16)}
.school-lead-card.is-nearest .school-lead-card__header{position:relative}
.school-lead-card.is-nearest .school-lead-reference{color:#08788d}
