/* NTIMA OS v13.14.24 — recurring training and certificate renewal. */
.ntima-training-renewal-settings{margin:20px 0;padding:20px;border:1px solid #ddd9f6;border-radius:20px;background:linear-gradient(145deg,#fff,#faf9ff);box-shadow:0 10px 28px rgba(74,52,145,.06)}
.ntima-training-renewal-settings-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:17px}
.ntima-training-renewal-settings-head span{display:block;color:#6c54ba;font-size:11px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}
.ntima-training-renewal-settings-head h3{margin:4px 0 5px;color:#30245e;font-size:20px}
.ntima-training-renewal-settings-head p{max-width:760px;margin:0;color:#6d6880;line-height:1.5}
.ntima-training-renewal-settings-head>b{flex:0 0 auto;padding:7px 11px;border-radius:999px;background:#eeeaff;color:#6047ae;font-size:11px}
.ntima-training-renewal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.ntima-training-renewal-grid .is-wide{grid-column:1/-1}
.ntima-training-number-unit{display:grid;grid-template-columns:1fr auto;align-items:center;border:1px solid #d8d2ef;border-radius:11px;background:#fff;overflow:hidden}
.ntima-training-number-unit input{min-height:44px!important;border:0!important;border-radius:0!important;box-shadow:none!important}
.ntima-training-number-unit b{align-self:stretch;display:flex;align-items:center;padding:0 12px;background:#f3f0ff;color:#59449e;font-size:12px;white-space:nowrap}

.ntima-training-renewal-status{display:flex;align-items:center;gap:7px;flex-wrap:wrap;width:max-content;max-width:100%;margin:8px 0;padding:7px 10px;border:1px solid #d9d4ef;border-radius:11px;background:#f7f5ff;color:#59449e}
.ntima-training-renewal-status strong,.ntima-training-renewal-status small{display:block}
.ntima-training-renewal-status strong{font-size:12px}
.ntima-training-renewal-status small{color:#706887;font-size:11px}
.ntima-training-renewal-status.is-compact{margin:7px 0}
.ntima-training-renewal-status.is-expiring{border-color:#efd69d;background:#fff8e8;color:#8a5b00}
.ntima-training-renewal-status.is-renewal_required,.ntima-training-renewal-status.is-renewal_in_progress{border-color:#bfcdfb;background:#eef3ff;color:#244fa3}
.ntima-training-renewal-status.is-expired{border-color:#f0bcbc;background:#fff0f0;color:#a22929}
.ntima-training-renewal-status.is-renewed{border-color:#b9dfc9;background:#eefaf3;color:#147143}
.wfms-training-card.is-renewal-due{border-color:#b9c8f8;background:linear-gradient(145deg,#fff,#f4f7ff)}
.wfms-training-card.is-renewal-due .wfms-training-icon{background:#e9efff;color:#315dc5}
.wfms-training-card.renewal-expired{border-color:#efbcbc;background:linear-gradient(145deg,#fff,#fff5f5)}
.wfms-training-card.renewal-expired .wfms-training-icon{background:#ffe9e9;color:#a32929}
.wfms-training-card.renewal-expiring{border-color:#eed79f}

.ntima-training-renewal-banner{display:flex;align-items:flex-start;gap:13px;width:min(1100px,100%);margin:16px auto;padding:15px 17px;border:1px solid #d8d2ef;border-radius:16px;background:#f7f5ff;color:#342862}
.ntima-training-renewal-banner>span{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;border-radius:13px;background:#e9e4ff;color:#5c46a6;font-size:23px;font-weight:900}
.ntima-training-renewal-banner strong{display:block}
.ntima-training-renewal-banner p{margin:4px 0 0;color:#6c6680;line-height:1.45}
.ntima-training-renewal-banner.is-expiring{border-color:#eed79f;background:#fff9eb;color:#7a5200}
.ntima-training-renewal-banner.is-expiring>span{background:#fff0c8;color:#8b5c00}
.ntima-training-renewal-banner.is-renewal_required,.ntima-training-renewal-banner.is-renewal_in_progress{border-color:#bdcaf5;background:#eef3ff;color:#234a9a}
.ntima-training-renewal-banner.is-renewal_required>span,.ntima-training-renewal-banner.is-renewal_in_progress>span{background:#dce6ff;color:#315dc5}
.ntima-training-renewal-banner.is-expired{border-color:#efbcbc;background:#fff0f0;color:#982323}
.ntima-training-renewal-banner.is-expired>span{background:#ffdddd;color:#a32929}
.ntima-training-renewal-intro{border-color:#bdcaf5!important;background:linear-gradient(145deg,#f8faff,#eef3ff)!important}
.ntima-training-start-renewal .wfms-btn{background:#315dc5!important}
.ntima-training-start-renewal .wfms-btn:hover,.ntima-training-start-renewal .wfms-btn:focus{background:#23479a!important}

.ntima-training-current-certificate{border-color:#b7ddc7!important;background:linear-gradient(135deg,#f8fffa,#edf8f1)!important}
.ntima-training-certificate-history{width:min(1100px,100%);margin:12px auto 16px;border:1px solid #ded9ef;border-radius:15px;background:#fff;overflow:hidden}
.ntima-training-certificate-history summary{cursor:pointer;padding:13px 16px;background:#f7f5ff;color:#4e3c8d;font-weight:800}
.ntima-training-certificate-history>div{display:grid;gap:8px;padding:12px}
.ntima-training-certificate-history article{display:grid;grid-template-columns:auto 1fr;gap:3px 10px;padding:11px;border:1px solid #ece9f7;border-radius:12px;background:#fcfbff}
.ntima-training-certificate-history article span{grid-row:1/3;align-self:center;padding:5px 8px;border-radius:999px;background:#eeeaff;color:#6047ae;font-size:10px;font-weight:900}
.ntima-training-certificate-history article strong{color:#33285f;font-size:13px;overflow-wrap:anywhere}
.ntima-training-certificate-history article small{color:#766f88;font-size:11px}

.ntima-training-report-kpis .is-expiring>span{background:#fff4d8;color:#8b5c00}
.ntima-training-report-kpis .is-renewal_required>span,.ntima-training-report-kpis .is-renewal_in_progress>span{background:#e9efff;color:#315dc5}
.ntima-training-report-kpis .is-expired>span{background:#ffe5e5;color:#ac2525}
.ntima-training-report-kpis .is-renewed>span{background:#e8f7ef;color:#087443}
.ntima-training-status.is-expiring{background:#fff1c9!important;color:#815500!important}
.ntima-training-status.is-renewal_required,.ntima-training-status.is-renewal_in_progress{background:#e6edff!important;color:#244fa3!important}
.ntima-training-status.is-expired{background:#ffe4e4!important;color:#a22626!important}
.ntima-training-status.is-renewed{background:#e8f7ef!important;color:#087443!important}
.ntima-training-report-table tr.status-expired{background:#fffafa}
.ntima-training-report-table tr.status-renewal_required,.ntima-training-report-table tr.status-renewal_in_progress{background:#fafbff}
.ntima-training-expiry-line{color:#755f23!important;font-weight:800}
.ntima-training-expiry-line.is-expired{color:#aa2929!important}

@media(max-width:720px){
  .ntima-training-renewal-settings{padding:15px;border-radius:16px}
  .ntima-training-renewal-settings-head{display:block}
  .ntima-training-renewal-settings-head>b{display:inline-block;margin-top:10px}
  .ntima-training-renewal-grid{grid-template-columns:1fr}
  .ntima-training-renewal-grid .is-wide{grid-column:auto}
  .ntima-training-renewal-banner{margin:12px auto;padding:13px}
  .ntima-training-certificate-history article{grid-template-columns:1fr}
  .ntima-training-certificate-history article span{grid-row:auto;width:max-content}
}
