/* Custom styles layered on top of SmartAdmin for the cPanel Access Wrapper. */

.caw-brand-badge {
  font-size: 10px;
  letter-spacing: .5px;
  text-transform: uppercase;
}

/* Full-height cPanel embed */
.caw-embed-wrap {
  position: relative;
  width: 100%;
  height: calc(100vh - 205px);
  min-height: 460px;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
}
.caw-embed-wrap.fullscreen {
  position: fixed;
  inset: 0;
  z-index: 1050;
  height: 100vh;
  border-radius: 0;
}
.caw-embed-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.caw-embed-loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  background: #fbfbfd;
  color: #6c757d;
  transition: opacity .3s;
}

.caw-quicklinks .btn {
  margin: 0 6px 6px 0;
}

.caw-stat-tile {
  border-radius: 8px;
  color: #fff;
  padding: 18px 20px;
}
.caw-stat-tile .num { font-size: 30px; font-weight: 600; line-height: 1; }
.caw-stat-tile .lbl { opacity: .85; font-size: 12px; text-transform: uppercase; letter-spacing: .4px; }

.caw-pill { font-family: SFMono-Regular, Consolas, monospace; font-size: 11px; }

table.caw-table td { vertical-align: middle; }

.caw-mod-grid { column-count: 3; column-gap: 18px; }
@media (max-width: 992px) { .caw-mod-grid { column-count: 2; } }
@media (max-width: 576px) { .caw-mod-grid { column-count: 1; } }
.caw-mod-cat { break-inside: avoid; margin-bottom: 16px; }
.caw-mod-cat h6 { border-bottom: 1px solid #e9ecef; padding-bottom: 6px; }

.caw-toast-host {
  position: fixed; top: 16px; right: 16px; z-index: 2000;
  display: flex; flex-direction: column; gap: 8px; max-width: 360px;
}
.caw-toast {
  padding: 12px 16px; border-radius: 6px; color: #fff; font-size: 13px;
  box-shadow: 0 6px 20px rgba(0,0,0,.18); animation: cawIn .2s ease;
}
@keyframes cawIn { from { transform: translateY(-6px); opacity: 0 } to { transform: none; opacity: 1 } }
.caw-toast.ok { background: #1dc9b7 }
.caw-toast.err { background: #fd3995 }
.caw-toast.info { background: #886ab5 }

.badge-risk { background:#fd3995; color:#fff; }
.caw-code { font-family: SFMono-Regular, Consolas, monospace; font-size: 12px; }
