/* ==========================================================================
   uRADMonitor 2026 — Bootstrap 3 compatibility shim
   Replaces the external Bootstrap CSS. Provides ONLY the pieces this theme
   actually uses: 12-col grid, tabs, panels, forms, alerts, labels, wells,
   badges and a handful of utilities. Loaded after style.css (so it wins the
   grid, as Bootstrap did), before modern.css.
   Pair with tabs.js for data-toggle="tab" behaviour.
   ========================================================================== */

/* ---- base (Bootstrap provided these globally) --------------------------- */
html{ box-sizing:border-box; }
*,*:before,*:after{ box-sizing:inherit; }
img{ vertical-align:middle; }

/* ---- grid --------------------------------------------------------------- */
.container{ padding-right:15px; padding-left:15px; margin-right:auto; margin-left:auto; }
@media (min-width:768px){ .container{ width:750px; } }
@media (min-width:992px){ .container{ width:970px; } }
@media (min-width:1200px){ .container{ width:1170px; } }
.container-fluid{ width:100%; padding-right:15px; padding-left:15px; margin-right:auto; margin-left:auto; }
.row{ margin-right:-15px; margin-left:-15px; }
.row:before,.row:after{ content:" "; display:table; }
.row:after{ clear:both; }
[class^="col-"],[class*=" col-"]{ position:relative; min-height:1px; padding-right:15px; padding-left:15px; box-sizing:border-box; }

/* xs (all widths) */
.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{ float:left; }
.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}

@media (min-width:768px){
  .col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12{ float:left; }
  .col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}
  .col-sm-offset-0{margin-left:0}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-6{margin-left:50%}
}
@media (min-width:992px){
  .col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12{ float:left; }
  .col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}
  .col-md-offset-0{margin-left:0}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-3{margin-left:25%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-6{margin-left:50%}
}
@media (min-width:1200px){
  .col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12{ float:left; }
  .col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}
}

/* ---- utilities ---------------------------------------------------------- */
.clearfix:before,.clearfix:after{ content:" "; display:table; }
.clearfix:after{ clear:both; }
.pull-right{ float:right !important; }
.pull-left{ float:left !important; }
.center-block{ display:block; margin-left:auto; margin-right:auto; }
.text-center{ text-align:center; }
.text-right{ text-align:right; }
.text-left{ text-align:left; }
.text-muted{ color:var(--u-mute,#8a93a0); }
.img-responsive{ display:block; max-width:100%; height:auto; }
.img-thumbnail{ padding:4px; background:#fff; border:1px solid var(--u-border,#e3e6ea); border-radius:8px; max-width:100%; height:auto; }
.img-circle{ border-radius:50%; }
.sr-only{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }
.hidden{ display:none !important; }
@media (max-width:767px){ .hidden-xs{ display:none !important; } }
@media (min-width:768px){ .visible-xs{ display:none !important; } }
.caret{ display:inline-block; width:0; height:0; margin-left:2px; vertical-align:middle; border-top:4px dashed; border-right:4px solid transparent; border-left:4px solid transparent; }

/* ---- nav / tabs --------------------------------------------------------- */
.nav{ margin:0; padding-left:0; list-style:none; }
.nav:before,.nav:after{ content:" "; display:table; } .nav:after{ clear:both; }
.nav > li{ position:relative; display:block; }
.nav > li > a{ position:relative; display:block; padding:10px 15px; text-decoration:none; }
/* clean underline tabs (no floating box) */
.nav-tabs{ border-bottom:1px solid var(--u-border,#e3e6ea); display:flex; flex-wrap:wrap; gap:4px; }
.nav-tabs > li{ float:left; margin-bottom:-1px; }
.nav-tabs > li > a{ padding:10px 16px; line-height:1.4; border:0; border-bottom:2px solid transparent; border-radius:0; color:var(--u-mute,#5f707a); font-weight:600; background:transparent; }
.nav-tabs > li > a:hover{ color:var(--u-accent,#24546b); background:transparent; border-bottom-color:rgba(36,84,107,.35); }
.nav-tabs > li.active > a,.nav-tabs > li.active > a:hover,.nav-tabs > li.active > a:focus{
  color:var(--u-accent,#24546b); background:transparent; border:0; border-bottom:2px solid var(--u-accent,#24546b); cursor:default;
}
.nav-pills > li{ float:left; }
.nav-pills > li > a{ border-radius:999px; }
.nav-pills > li.active > a{ background:var(--u-accent,#24546b); color:#fff; }
.nav-stacked > li{ float:none; }
.tab-content > .tab-pane{ display:none; }
.tab-content > .tab-pane.active{ display:block; }
.fade{ opacity:0; transition:opacity .15s linear; }
.fade.in{ opacity:1; }

/* ---- panels ------------------------------------------------------------- */
.panel{ margin-bottom:20px; background:var(--u-card,#fff); border:1px solid var(--u-border,#e3e6ea); border-radius:12px; box-shadow:0 1px 2px rgba(19,50,62,.05); }
.panel-body{ padding:16px 18px; }
.panel-heading{ padding:12px 18px; border-bottom:1px solid var(--u-border,#e3e6ea); border-radius:12px 12px 0 0; font-weight:700; }
.panel-title{ margin:0; font-size:16px; }
.panel-default > .panel-heading{ background:var(--u-alt,#f4f7f9); color:var(--u-text,#16242b); }
.panel-warning{ border-color:#f0d98a; }
.panel-warning > .panel-heading{ background:#fcf3d6; color:#8a6d1a; border-bottom-color:#f0d98a; }
.panel-footer{ padding:12px 18px; border-top:1px solid var(--u-border,#e3e6ea); background:var(--u-alt,#f4f7f9); border-radius:0 0 12px 12px; }

/* ---- alerts ------------------------------------------------------------- */
.alert{ padding:14px 18px; margin-bottom:18px; border:1px solid transparent; border-radius:10px; }
.alert-info{ background:#e7eff3; border-color:#cfe0e8; color:#1a3f52; }
.alert-success{ background:#e4f3ea; border-color:#c7e6d3; color:#1e6b3e; }
.alert-warning{ background:#fcf3d6; border-color:#f0d98a; color:#8a6d1a; }
.alert-danger{ background:#fbe4e6; border-color:#f1c2c7; color:#8a2b34; }
.alert a{ font-weight:700; }

/* ---- labels / badges / wells ------------------------------------------- */
.label{ display:inline-block; padding:.25em .6em; font-size:75%; font-weight:700; line-height:1; color:#fff; text-align:center; white-space:nowrap; vertical-align:baseline; border-radius:999px; }
.label-default{ background:#8a93a0; } .label-primary{ background:var(--u-accent,#24546b); }
.label-success{ background:#2e9e5b; } .label-info{ background:#2f86a6; }
.label-warning{ background:#d69a2a; } .label-danger{ background:#c0444f; }
.badge{ display:inline-block; min-width:10px; padding:3px 8px; font-size:12px; font-weight:700; line-height:1; color:#fff; text-align:center; white-space:nowrap; vertical-align:middle; background:#8a93a0; border-radius:999px; }
.well{ min-height:20px; padding:18px; margin-bottom:20px; background:var(--u-alt,#f4f7f9); border:1px solid var(--u-border,#e3e6ea); border-radius:12px; }

/* ---- forms -------------------------------------------------------------- */
.form-group{ margin-bottom:16px; }
.control-label{ font-weight:600; margin-bottom:5px; display:inline-block; }
.form-control{ display:block; width:100%; padding:10px 13px; font-size:15px; line-height:1.5; color:var(--u-text,#2b3a42); background:#fff; border:1px solid var(--u-border,#cdd8dd); border-radius:10px; box-shadow:none; }
.form-control:focus{ outline:0; border-color:var(--u-accent,#24546b); box-shadow:0 0 0 3px rgba(36,84,107,.14); }
textarea.form-control{ height:auto; }
.help-block{ display:block; margin-top:6px; color:var(--u-mute,#8a93a0); font-size:13px; }
.input-group{ position:relative; display:flex; }
.input-group .form-control{ border-radius:10px 0 0 10px; }
.input-group-addon,.input-group-btn{ display:flex; align-items:center; padding:0 12px; background:var(--u-alt,#f4f7f9); border:1px solid var(--u-border,#cdd8dd); border-left:0; border-radius:0 10px 10px 0; }
.checkbox,.radio{ margin:8px 0; }
.has-error .form-control{ border-color:#c0444f; }

/* ---- buttons (base + variants; theme style.css may refine) -------------- */
.btn{ display:inline-block; margin-bottom:0; font-weight:600; text-align:center; white-space:nowrap; vertical-align:middle; cursor:pointer; border:1px solid transparent; padding:9px 18px; font-size:15px; line-height:1.4; border-radius:999px; text-decoration:none; user-select:none; }
.btn:focus{ outline:0; }
.btn:hover{ text-decoration:none; }
.btn-default{ color:var(--u-text,#16242b); background:#fff; border-color:var(--u-border,#cdd8dd); }
.btn-default:hover{ border-color:var(--u-accent,#24546b); color:var(--u-accent,#1a3f52); }
.btn-primary,.btn-info{ color:#fff; background:var(--u-accent,#24546b); border-color:var(--u-accent,#24546b); }
.btn-primary:hover,.btn-info:hover{ color:#fff; background:#1a3f52; border-color:#1a3f52; }
.btn-success{ color:#fff; background:#2e9e5b; border-color:#2e9e5b; }
.btn-warning{ color:#fff; background:#d69a2a; border-color:#d69a2a; }
.btn-danger{ color:#fff; background:#c0444f; border-color:#c0444f; }
.btn-link{ color:var(--u-accent,#24546b); background:transparent; border-color:transparent; }
.btn-lg{ padding:12px 24px; font-size:16px; }
.btn-sm{ padding:6px 13px; font-size:13px; }
.btn-xs{ padding:3px 9px; font-size:12px; }
.btn-block{ display:block; width:100%; }
.btn[disabled],.btn.disabled{ opacity:.6; cursor:not-allowed; }

/* ---- dropdown (minimal; the 1 usage) ------------------------------------ */
.dropdown{ position:relative; }
.dropdown-menu{ position:absolute; top:100%; left:0; z-index:1000; display:none; min-width:180px; padding:6px; margin:4px 0 0; background:#fff; border:1px solid var(--u-border,#e3e6ea); border-radius:10px; box-shadow:0 8px 24px rgba(19,50,62,.12); list-style:none; }
.dropdown.open > .dropdown-menu{ display:block; }
.dropdown-menu > li > a{ display:block; padding:7px 12px; color:var(--u-text,#2b3a42); text-decoration:none; border-radius:6px; }
.dropdown-menu > li > a:hover{ background:var(--u-alt,#f4f7f9); }
.dropdown-header{ display:block; padding:6px 12px 2px; font-size:11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--u-mute,#8a93a0); }

/* ---- close -------------------------------------------------------------- */
.close{ float:right; font-size:21px; font-weight:700; line-height:1; color:#000; opacity:.3; background:none; border:0; cursor:pointer; }
.close:hover{ opacity:.6; }
