/* Additive responsive Senzimehluko LMS enhancements */
.topbar-search{display:flex;align-items:center;gap:4px;background:#f4f9fc;border:1px solid #d9e9ef;border-radius:30px;padding:4px 8px;min-width:150px;width:min(28vw,330px)}
.topbar-search input{border:0!important;background:transparent!important;box-shadow:none!important;outline:none!important;min-width:0;width:100%!important;padding:7px 9px!important;margin:0!important;font-size:.82rem!important}
.topbar-search button{border:0;background:#1386ae;color:#fff;border-radius:50%;width:31px;height:31px;cursor:pointer;font-size:1.2rem}
.smart-search,.smart-public-search{display:flex;align-items:center;gap:10px;margin:0 0 24px;flex-wrap:wrap}
.smart-search input,.smart-public-search input{flex:1;min-width:180px;max-width:650px;border:1px solid #d9e8f0;border-radius:12px;padding:13px 16px}
.smart-public-search{max-width:880px;margin:0 auto 32px}
.smart-register{width:min(100% - 16px,960px)!important;max-width:960px}
.smart-fieldset{border:1px solid #e2edf3;border-radius:16px;padding:18px;margin:10px 0 17px;min-width:0;background:rgba(245,251,253,.42)}
.smart-fieldset legend{font-weight:800;color:#105e80;padding:0 8px;font-size:.91rem}
.smart-fieldset .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px}
.smart-fieldset label{min-width:0}
.smart-consent{background:#f0f8fc;border-radius:12px;padding:15px;line-height:1.6;font-size:.85rem}
.smart-consent input{width:auto}
.smart-highlight{border:1px solid #cfe8f3;background:#f1fbff;border-radius:16px;padding:20px;margin:0 0 20px;max-width:100%}
.smart-highlight strong{font-weight:800;color:#12577c}
.smart-highlight progress{display:block;width:100%;height:14px;accent-color:#159c9b;margin:13px 0;border-radius:10px}
.smart-highlight p{font-size:.82rem;margin:7px 0;color:#4d7180}
.smart-chipbar{display:flex;gap:9px;overflow-x:auto;padding:3px 0 20px;scrollbar-width:thin}
.smart-chipbar a{flex-shrink:0;background:#fff;color:#19516a;border:1px solid #cfe3ed;padding:9px 14px;border-radius:24px;font-size:.8rem;font-weight:700}
.smart-chipbar a.selected{background:linear-gradient(120deg,#0875a0,#16a4a0);color:white;border-color:#1297ae}
.smart-meeting{display:flex;gap:16px;justify-content:space-between;align-items:center;background:#f5fafe;border:1px solid #e1edf4;border-radius:14px;padding:17px;margin-bottom:12px}
.smart-meeting b{font-size:.95rem}.smart-meeting p{font-size:.8rem;margin:7px 0}.smart-meeting small{color:#638092}
.smart-lesson{padding:19px 3px;border-bottom:1px solid #e2edf2}.smart-lesson:last-child{border:0}.smart-lesson-head{display:flex;align-items:center;gap:12px;justify-content:space-between;flex-wrap:wrap}.smart-lesson h3{margin:0;font-size:1.05rem}.smart-lesson-body{white-space:normal;line-height:1.8;overflow-wrap:anywhere;color:#405d6e;font-size:.88rem}
.smart-lesson .inline-form{margin-top:14px}.smart-map{width:100%;height:380px;border:1px solid #dce9f0;border-radius:18px;overflow:hidden;margin:16px 0}.smart-map iframe{border:0;width:100%;height:100%}
.smart-doc-select{white-space:nowrap;display:inline-flex;align-items:center;gap:4px;font-size:.78rem;margin:10px 0 0 12px;color:#245b73}.smart-doc-select input{width:auto}.smart-bulk-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:16px}
@media(max-width:850px){.topbar-search{width:38vw}.smart-meeting{align-items:flex-start;flex-direction:column}}
@media(max-width:590px){.topbar-search{width:100%;order:3}.topbar{flex-wrap:wrap}.smart-fieldset .form-grid{grid-template-columns:1fr}.smart-register{padding:20px!important}.smart-bulk-tools .small-note{display:block}.smart-map{height:270px}}
html[data-theme="dark"] .smart-fieldset,html[data-theme="dark"] .smart-highlight,html[data-theme="dark"] .smart-meeting{background:#142c3a;border-color:#315569;color:#e5f3fb}
html[data-theme="dark"] .smart-fieldset legend,html[data-theme="dark"] .smart-highlight strong,html[data-theme="dark"] .smart-lesson h3{color:#bceaff}
html[data-theme="dark"] .smart-highlight p,html[data-theme="dark"] .smart-lesson-body,html[data-theme="dark"] .smart-meeting p{color:#b6ccda}
html[data-theme="dark"] .smart-chipbar a{background:#1d3444;border-color:#365d71;color:#d5edfb}
html[data-theme="dark"] .smart-chipbar a.selected{background:#0d799f;color:#fff}
html[data-theme="dark"] .smart-search input,html[data-theme="dark"] .smart-public-search input,html[data-theme="dark"] .topbar-search{background:#1a3446;color:#eefbff;border-color:#3c6071}
html[data-theme="dark"] .topbar-search input{color:#eefbff!important}
html[data-theme="dark"] .smart-consent{background:#172f40;color:#d7ebf7}
