:root {
  --ck-primary: #2563eb;
  --ck-secondary: #0f172a;
  --ck-soft: #eff6ff;
  --ck-muted: #64748b;
  --ck-border: #dbe3ef;
  --ck-surface: #ffffff;
  --ck-surface-soft: #f8fbff;
  --ck-success: #16a34a;
  --ck-warning: #f59e0b;
  --ck-danger: #dc2626;
}

body,
body.skin-blue.sidebar-mini {
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 24%),
    radial-gradient(circle at top right, rgba(15, 23, 42, 0.14), transparent 28%),
    #f4f7fb;
  color: #0f172a;
  font-family: "Poppins", sans-serif;
}

.content-wrapper {
  min-height: calc(100vh - 100px);
  background: transparent;
}

.content {
  padding: 24px;
}

.content-header {
  padding: 18px 24px 0;
}

.ck-page-title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.ck-subtitle,
.ck-row-meta,
.ck-time-stack span,
.ck-company-card small {
  color: var(--ck-muted);
}

.ck-breadcrumb {
  margin-bottom: 8px;
  color: var(--ck-muted);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ck-alert {
  margin-bottom: 20px;
  border: 0;
  border-radius: 16px;
}

.main-header .logo,
.main-header .navbar {
  background: linear-gradient(135deg, var(--ck-secondary), var(--ck-primary)) !important;
}

.main-header .logo {
  border-bottom: 0 !important;
}

.main-sidebar,
.left-side {
  background: #0f172a;
}

.sidebar-menu > li.header {
  background: transparent;
  color: #8aa0c7;
}

.sidebar-menu > li > a {
  color: #e2e8f0;
}

.sidebar-menu > li.active > a,
.sidebar-menu > li:hover > a {
  background: rgba(255, 255, 255, 0.08);
  border-left-color: var(--ck-primary);
  color: #fff;
}

.user-panel > .info,
.user-panel > .info > a {
  color: #fff;
}

.ck-brand-lockup {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.ck-brand-logo,
.ck-brand-sidebar-logo,
.ck-login-logo {
  object-fit: cover;
}

.ck-brand-logo {
  width: 34px;
  height: 34px;
  margin-right: 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.15);
}

.ck-brand-sidebar-logo {
  width: 64px;
  height: 64px;
  border: 3px solid rgba(255, 255, 255, 0.15);
}

.ck-login-logo {
  width: 74px;
  height: 74px;
  margin-bottom: 18px;
  border-radius: 18px;
}

.box,
.ck-company-card {
  border-top: 0;
  border-radius: 22px;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.box .box-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--ck-border);
}

.box .box-body {
  padding: 22px;
}

.ck-section-box {
  margin-bottom: 22px;
}

.ck-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.ck-toolbar-spaced {
  margin-bottom: 24px;
}

.ck-toolbar-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ck-chip,
.ck-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ck-pill {
  background: rgba(37, 99, 235, 0.1);
  color: var(--ck-primary);
}

.ck-pill-soft {
  background: rgba(15, 23, 42, 0.06);
  color: #334155;
}

.ck-chip-ready {
  background: #dcfce7;
  color: #166534;
}

.ck-chip-not-ready {
  background: #fee2e2;
  color: #991b1b;
}

.ck-chip-generated {
  background: #dbeafe;
  color: #1d4ed8;
}

.ck-chip-printed {
  background: #fef3c7;
  color: #92400e;
}

.ck-chip-checkout {
  background: #e2e8f0;
  color: #334155;
}

.ck-login-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.35), transparent 25%),
    linear-gradient(145deg, #08111f 0%, #0f172a 45%, #132c55 100%);
}

.ck-login-card {
  border-radius: 24px;
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.26);
  overflow: hidden;
}

.ck-login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px 16px;
}

.ck-login-stage {
  width: 100%;
  max-width: 470px;
}

.ck-login-alert {
  margin-bottom: 16px;
}

.ck-login-panel {
  width: 100%;
}

.ck-login-card.box {
  margin: 0;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(244, 248, 255, 0.96));
  box-shadow:
    0 30px 80px rgba(7, 20, 49, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.ck-login-card.box .box-body {
  padding: 28px 26px 26px;
}

.ck-login-mark {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.ck-login-mark-card {
  width: 100%;
  max-width: 324px;
  min-height: 146px;
  display: grid;
  place-items: center;
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff, #f7faff);
  border: 1px solid rgba(37, 99, 235, 0.14);
  box-shadow:
    0 18px 40px rgba(37, 99, 235, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.ck-login-mark-logo {
  max-width: 100%;
  max-height: 86px;
  object-fit: contain;
}

.ck-login-heading {
  margin-bottom: 20px;
  text-align: center;
}

.ck-login-heading h2 {
  margin: 0 0 8px;
  color: #60748f;
  font-size: 22px;
  font-weight: 500;
}

.ck-login-heading p {
  margin: 0;
  color: #6f8198;
  font-size: 13px;
}

.ck-login-form {
  display: grid;
  gap: 16px;
}

.ck-login-field label {
  display: block;
  margin-bottom: 8px;
  color: #112d5f;
  font-size: 14px;
  font-weight: 700;
}

.ck-login-field .form-control {
  height: 44px;
  border: 1px solid #c9d7ec;
  border-radius: 11px;
  background: #fdfefe;
  box-shadow: none;
  color: #24364d;
}

.ck-login-field .form-control::placeholder {
  color: #7d8fa4;
}

.ck-password-wrap {
  position: relative;
}

.ck-password-wrap .form-control {
  padding-right: 52px;
}

.ck-password-toggle {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 46px;
  height: 42px;
  border: 0;
  border-left: 1px solid #d3def0;
  border-radius: 0 10px 10px 0;
  background: transparent;
  color: #596b84;
}

.ck-login-submit {
  width: 100%;
  height: 46px;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(90deg, #3569e6, #4aa6e6);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  box-shadow: 0 16px 24px rgba(53, 105, 230, 0.28);
}

.ck-login-submit:hover,
.ck-login-submit:focus {
  color: #fff;
  background: linear-gradient(90deg, #2f60d7, #4098df);
}

.ck-login-demo {
  margin-top: 16px;
  text-align: center;
  color: #7b8ba1;
  font-size: 12px;
}

.ck-login-footer {
  margin-top: 16px;
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.ck-kicker,
.ck-form-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--ck-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ck-kiosk-shell {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 420px);
  gap: 22px;
  align-items: start;
}

.ck-kiosk-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 20px;
  padding: 34px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.22), transparent 30%),
    linear-gradient(135deg, var(--ck-secondary), var(--ck-primary));
  color: #fff;
  box-shadow: 0 26px 50px rgba(37, 99, 235, 0.2);
}

.ck-kiosk-copy h2 {
  margin: 0 0 14px;
  font-size: 40px;
  line-height: 1.05;
  font-weight: 700;
}

.ck-kiosk-copy p {
  max-width: 620px;
  font-size: 17px;
  opacity: 0.94;
}

.ck-kiosk-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.ck-kiosk-steps {
  display: grid;
  gap: 12px;
}

.ck-kiosk-step,
.ck-kiosk-ticket,
.ck-aside-card,
.ck-door-card,
.ck-company-card .box-body {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 20px;
  color: #0f172a;
}

.ck-kiosk-step {
  padding: 18px;
}

.ck-kiosk-step strong,
.ck-aside-card h3,
.ck-door-card strong {
  display: block;
  margin-bottom: 6px;
}

.ck-kiosk-step span,
.ck-kiosk-ticket p,
.ck-aside-list li,
.ck-empty-panel span {
  color: var(--ck-muted);
}

.ck-kiosk-ticket {
  padding: 24px;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
}

.ck-kiosk-note {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #eff6ff;
  color: #1e3a8a;
  font-size: 13px;
  font-weight: 500;
}

.ck-form-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}

.ck-form-shell-wide {
  width: 100%;
  max-width: 1780px;
  margin: 0 auto;
}

.ck-checkin-hero {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(260px, 1.35fr) minmax(140px, 1fr);
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}

.ck-checkin-hero-logo,
.ck-checkin-hero-clock {
  min-height: 96px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(219, 227, 239, 0.95);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.ck-checkin-hero-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ck-checkin-hero-logo img {
  max-width: 100%;
  max-height: 58px;
  object-fit: contain;
}

.ck-checkin-hero-logo span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: rgba(37, 99, 235, 0.10);
  color: var(--ck-primary);
  font-size: 24px;
  font-weight: 800;
}

.ck-checkin-hero-clock {
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #0b0b0d 0%, #050507 100%);
  border-color: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.ck-checkin-hero-clock small {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ck-checkin-hero-clock strong {
  font-size: clamp(30px, 3.4vw, 54px);
  line-height: 1;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.ck-form-main,
.ck-form-aside {
  min-width: 0;
}

.ck-form-main {
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.ck-form-titlebar {
  padding: 14px 18px 0;
}

.ck-form-titlebar-copy {
  display: grid;
  gap: 6px;
}

.ck-form-titlebar-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #0f172a;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.ck-form-titlebar-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  color: var(--ck-primary);
  flex: 0 0 auto;
}

.ck-form-titlebar-icon i {
  font-size: 12px;
}

.ck-form-titlebar p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.4;
}

.ck-wizard-form {
  padding: 14px 18px 18px;
}

.ck-wizard-form .row {
  margin-left: -8px;
  margin-right: -8px;
  margin-bottom: 14px;
}

.ck-wizard-form .row > [class*="col-"] {
  padding-left: 8px;
  padding-right: 8px;
}

.ck-wizard-form .row:last-child {
  margin-bottom: 0;
}

.ck-stepper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 12px;
  margin-bottom: 16px;
}

.ck-step {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--ck-border);
  border-radius: 16px;
  background: var(--ck-surface-soft);
  text-align: left;
  transition: 0.2s ease;
  position: relative;
  overflow: hidden;
}

.ck-step.is-active {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(15, 23, 42, 0.05));
  border-color: rgba(37, 99, 235, 0.38);
  box-shadow:
    0 14px 30px rgba(37, 99, 235, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.ck-step.is-active::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--ck-primary);
}

.ck-step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: #fff;
  color: var(--ck-primary);
  font-weight: 800;
  font-size: 12px;
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.12);
}

.ck-step-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ck-step-text strong {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #0f172a;
  font-size: 13px;
}

.ck-step-text strong i,
.ck-pane-head h3 i {
  color: inherit;
  font-size: 13px;
}

.ck-step-text small {
  color: var(--ck-muted);
  font-size: 11px;
}

.ck-step.is-active .ck-step-text strong {
  color: #0b3aa0;
}

.ck-step.is-active .ck-step-text small {
  color: #526781;
}

.ck-pane-head {
  margin-bottom: 12px;
}

.ck-pane-head h3 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 700;
}

.ck-pane-head p {
  margin: 0;
  color: var(--ck-muted);
  font-size: 13px;
}

.ck-field label,
.ck-kiosk-ticket label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #334155;
}

.ck-field label .ck-required-mark,
.ck-capture-head strong .ck-required-mark {
  color: #dc2626;
  font-weight: 800;
}

.ck-field .form-control,
.ck-kiosk-ticket .form-control {
  height: 42px;
  border: 1px solid var(--ck-border);
  border-radius: 12px;
  box-shadow: none;
}

.ck-field:not(.ck-accent-blue):not(.ck-accent-green):not(.ck-accent-orange) label {
  color: #334155;
}

.ck-field:not(.ck-accent-blue):not(.ck-accent-green):not(.ck-accent-orange) .form-control {
  border-color: var(--ck-border);
}

.ck-field.ck-accent-blue label,
.ck-capture-card.ck-accent-blue .ck-capture-head strong {
  color: #1d4ed8;
}

.ck-field.ck-accent-green label,
.ck-capture-card.ck-accent-green .ck-capture-head strong {
  color: #059669;
}

.ck-field.ck-accent-orange label,
.ck-capture-card.ck-accent-orange .ck-capture-head strong {
  color: #ea580c;
}

.ck-field.ck-accent-blue {
  --ck-accent-bar: rgba(37, 99, 235, 0.92);
}

.ck-field.ck-accent-green {
  --ck-accent-bar: rgba(5, 150, 105, 0.92);
}

.ck-field.ck-accent-orange {
  --ck-accent-bar: rgba(234, 88, 12, 0.92);
}

.ck-field.ck-accent-blue .form-control,
.ck-field.ck-accent-green .form-control,
.ck-field.ck-accent-orange .form-control {
  border-width: 1px;
  box-shadow: inset 10px 0 0 var(--ck-accent-bar, transparent);
  padding-left: 16px;
}

.ck-field.ck-accent-blue .form-control,
.ck-field.ck-accent-blue select.form-control {
  border-color: rgba(37, 99, 235, 0.48);
}

.ck-field.ck-accent-green .form-control,
.ck-field.ck-accent-green select.form-control {
  border-color: rgba(5, 150, 105, 0.48);
}

.ck-field.ck-accent-orange .form-control,
.ck-field.ck-accent-orange select.form-control {
  border-color: rgba(234, 88, 12, 0.48);
}

.ck-field.ck-accent-blue .form-control:focus,
.ck-field.ck-accent-green .form-control:focus,
.ck-field.ck-accent-orange .form-control:focus,
.ck-field .form-control:focus {
  border-color: rgba(37, 99, 235, 0.38);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}

.ck-field.ck-accent-green .form-control:focus {
  border-color: rgba(5, 150, 105, 0.38);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.08);
}

.ck-field.ck-accent-orange .form-control:focus {
  border-color: rgba(234, 88, 12, 0.38);
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.08);
}

.ck-field .form-control::placeholder {
  color: #93a4b7;
}

.ck-field select.form-control {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #94a3b8 50%), linear-gradient(135deg, #94a3b8 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

.ck-field .form-control option[value=""] {
  color: #94a3b8;
}

.ck-load-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.ck-load-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--ck-border);
  border-radius: 18px;
  background: #fff;
  transition: 0.2s ease;
  cursor: pointer;
}

.ck-load-card.is-static {
  cursor: default;
}

.ck-load-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08);
}

.ck-load-card input {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.ck-load-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 240px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(15, 23, 42, 0.06));
}

.ck-load-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.ck-load-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ck-primary);
  font-size: 26px;
}

.ck-load-label {
  font-weight: 700;
  color: #0f172a;
}

.ck-load-card input:checked ~ .ck-load-label,
.ck-load-card input:checked + .ck-load-visual {
  outline: none;
}

.ck-load-card input:checked ~ .ck-load-label::before {
  content: "Selected";
  display: block;
  margin-bottom: 4px;
  color: var(--ck-primary);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ck-load-card input:checked + .ck-load-visual,
.ck-load-card input:checked ~ .ck-load-label {
  filter: saturate(1.05);
}

.ck-load-card.is-selected {
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 18px 38px rgba(37, 99, 235, 0.16);
}

.ck-capture-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 100%;
  padding: 14px;
  border: 1px solid var(--ck-border);
  border-radius: 18px;
  background: #fff;
}

.ck-capture-card[data-picture-field] {
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.04);
}

.ck-capture-card.ck-accent-blue {
  border-top: 4px solid rgba(37, 99, 235, 0.86);
}

.ck-capture-card.ck-accent-green {
  border-top: 4px solid rgba(5, 150, 105, 0.86);
}

.ck-capture-card.ck-accent-orange {
  border-top: 4px solid rgba(234, 88, 12, 0.86);
}

.ck-capture-card.ck-accent-blue .ck-capture-head strong {
  color: #1d4ed8;
}

.ck-capture-card.ck-accent-green .ck-capture-head strong {
  color: #059669;
}

.ck-capture-card.ck-accent-orange .ck-capture-head strong {
  color: #ea580c;
}

.ck-capture-head strong,
.ck-capture-head small,
.ck-capture-foot,
.ck-current-link {
  display: block;
}

.ck-capture-head small,
.ck-capture-foot,
.ck-current-link a {
  color: var(--ck-muted);
}

.ck-picture-step {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-right: 8px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  color: var(--ck-primary);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  vertical-align: middle;
}

.ck-picture-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  width: 100%;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0;
  margin-bottom: 0;
}

.ck-picture-grid > [class*="col-"] {
  float: none;
  flex: 0 1 360px;
  width: 360px !important;
  max-width: 360px !important;
  padding-left: 0;
  padding-right: 0;
}

#tab-pictures {
  text-align: center;
}

#tab-pictures .ck-picture-grid {
  display: inline-flex;
  width: auto;
  max-width: calc(100% - 32px);
  text-align: left;
}

.ck-accent-pair-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.ck-accent-pair {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 16px;
  padding: 0;
  width: 100%;
  align-items: start;
}

.ck-accent-pair .form-group {
  margin-bottom: 0;
}

.ck-field-empty {
  min-height: 60px;
}

@media (max-width: 991.98px) {
  .ck-picture-grid {
    max-width: 100%;
  }

  #tab-pictures .ck-picture-grid {
    display: flex;
    width: 100%;
    max-width: 100%;
  }

  .ck-picture-grid > [class*="col-"] {
    flex-basis: 100%;
    width: 100% !important;
    max-width: 100% !important;
  }

  .ck-accent-pair-grid,
  .ck-accent-pair {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
}

.ck-capture-frame {
  appearance: none;
  -webkit-appearance: none;
  border: 1.5px solid rgba(37, 99, 235, 0.18);
  cursor: pointer;
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 72px;
  padding: 14px 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.08), rgba(15, 23, 42, 0.03));
  color: var(--ck-primary);
  text-align: center;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.06);
  font-weight: 700;
}

.ck-capture-frame:hover {
  border-color: rgba(37, 99, 235, 0.36);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.12), rgba(15, 23, 42, 0.05));
  transform: translateY(-1px);
}

.ck-capture-input {
  display: none !important;
}

.ck-picture-preview {
  min-height: 190px;
  display: grid;
  place-items: center;
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 18px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
  overflow: hidden;
}

.ck-picture-preview img {
  width: 100%;
  max-height: 190px;
  object-fit: contain;
  display: block;
}

.ck-picture-preview--license {
  min-height: 220px;
  aspect-ratio: 1.585 / 1;
}

.ck-picture-preview--license img {
  max-height: none;
  height: 100%;
  object-fit: contain;
}

.ck-picture-preview--signature {
  min-height: 190px;
  background: #ffffff;
  border-style: dashed;
  border-color: rgba(148, 163, 184, 0.34);
}

.ck-capture-foot {
  display: none;
}

.ck-empty-panel {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  border: 1px dashed var(--ck-border);
  border-radius: 16px;
  background: #fff;
}

.ck-wizard-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}

.ck-wizard-actions {
  display: flex;
  gap: 10px;
}

.ck-form-aside {
  display: grid;
  gap: 16px;
}

.ck-aside-card {
  padding: 20px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.07);
}

.ck-summary-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.ck-summary-list li,
.ck-summary-list.compact div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ck-border);
}

.ck-summary-list li:last-child,
.ck-summary-list.compact div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.ck-summary-list span,
.ck-summary-list.compact span {
  color: var(--ck-muted);
  font-size: 13px;
}

.ck-summary-list strong,
.ck-summary-list.compact strong {
  color: #0f172a;
  font-size: 13px;
  text-align: right;
}

.ck-aside-list {
  margin: 0;
  padding-left: 18px;
}

.ck-aside-list li + li {
  margin-top: 8px;
}

.ck-saving-overlay {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, 0.38);
  backdrop-filter: blur(6px);
  z-index: 9999;
}

.ck-saving-card {
  min-width: 260px;
  padding: 24px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.18);
  text-align: center;
}

.ck-saving-card strong,
.ck-saving-card small {
  display: block;
}

.ck-saving-card strong {
  margin-bottom: 6px;
}

.ck-saving-card small {
  color: var(--ck-muted);
}

.ck-picture-modal,
.ck-signature-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: 20px;
}

.ck-picture-modal.hide,
.ck-signature-modal.hide {
  display: none !important;
}

.ck-picture-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.68);
  backdrop-filter: blur(4px);
}

.ck-picture-modal-dialog,
.ck-signature-dialog {
  position: relative;
  z-index: 1;
  width: min(880px, 100%);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 32px 80px rgba(15, 23, 42, 0.34);
  overflow: hidden;
}

.ck-signature-dialog {
  width: min(680px, 100%);
}

.ck-picture-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px 14px;
  border-bottom: 1px solid #e7edf5;
}

.ck-picture-modal-head h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #123664;
}

.ck-picture-modal-head p {
  margin: 4px 0 0;
  color: var(--ck-muted);
  font-size: 13px;
}

.ck-picture-close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: #eef4fb;
  color: #334155;
  font-size: 22px;
  line-height: 1;
}

.ck-picture-stage {
  position: relative;
  min-height: 420px;
  background: #0f172a;
  overflow: hidden;
}

.ck-picture-stage video,
.ck-picture-stage canvas {
  width: 100%;
  height: clamp(360px, 56vw, 520px);
  object-fit: cover;
  display: block;
}

.ck-picture-modal.is-face-capture .ck-picture-stage video,
.ck-picture-modal.is-face-capture .ck-picture-stage canvas,
.ck-picture-modal.is-license-capture .ck-picture-stage video,
.ck-picture-modal.is-license-capture .ck-picture-stage canvas {
  object-fit: cover;
  background: #0f172a;
}

.ck-picture-modal.is-license-capture .ck-picture-overlay {
  padding: 10px;
}

.ck-picture-modal.is-license-capture .ck-picture-frame {
  width: min(92%, 820px);
  aspect-ratio: 1.585 / 1;
  height: auto;
  max-height: 82%;
  border-color: rgba(8, 15, 31, 0.98);
  border-width: 4px;
  border-radius: 14px;
  box-shadow:
    0 0 0 9999px rgba(8, 15, 31, 0.84),
    0 0 0 2px rgba(255, 255, 255, 0.12) inset,
    0 0 0 1px rgba(239, 68, 68, 0.16);
  background: transparent;
}

.ck-picture-modal.is-license-capture .ck-picture-frame::before,
.ck-picture-modal.is-license-capture .ck-picture-frame::after {
  width: 38px;
  height: 38px;
  border-color: rgba(255, 255, 255, 0.96);
}

.ck-picture-modal.is-face-capture .ck-picture-frame {
  display: none;
}

.ck-picture-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.ck-picture-frame {
  position: relative;
  width: min(72%, 520px);
  height: min(66%, 300px);
  border: 3px solid rgba(255, 255, 255, 0.92);
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.ck-picture-modal.is-license-capture .ck-picture-stage {
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.ck-picture-modal.is-license-capture .ck-picture-stage::after {
  content: "Coloca la credencial completa dentro del recuadro";
  position: absolute;
  left: 50%;
  top: 16px;
  transform: translateX(-50%);
  z-index: 2;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.62);
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  pointer-events: none;
}

.ck-picture-frame::before,
.ck-picture-frame::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  border-color: rgba(255, 255, 255, 0.95);
  border-style: solid;
}

.ck-picture-frame::before {
  top: -2px;
  left: -2px;
  border-width: 3px 0 0 3px;
  border-top-left-radius: 12px;
}

.ck-picture-frame::after {
  right: -2px;
  bottom: -2px;
  border-width: 0 3px 3px 0;
  border-bottom-right-radius: 12px;
}

.ck-picture-fallback {
  display: grid;
  place-items: center;
  min-height: 420px;
  color: #cbd5e1;
  text-align: center;
  padding: 20px;
}

.ck-picture-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 20px 20px;
  border-top: 1px solid #e7edf5;
}

.ck-signature-stage {
  padding: 16px 20px 0;
}

.ck-signature-stage canvas {
  width: 100%;
  height: 320px;
  border: 1px solid #d9e2ef;
  border-radius: 16px;
  background: #fff;
  touch-action: none;
}

.ck-signature-modal .ck-picture-actions {
  justify-content: space-between;
}

.ck-saving-spinner {
  display: inline-block;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border: 4px solid rgba(37, 99, 235, 0.18);
  border-top-color: var(--ck-primary);
  border-radius: 50%;
  animation: ck-spin 0.8s linear infinite;
}

.small-box.ck-stat-card {
  border-radius: 22px;
  overflow: hidden;
}

.small-box.ck-stat-card .inner {
  padding-top: 16px;
}

.ck-admin-table td {
  vertical-align: top !important;
}

.ck-row-actions {
  min-width: 370px;
}

.ck-time-stack {
  display: grid;
  gap: 4px;
  min-width: 170px;
}

.ck-comments-preview {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--ck-border);
  color: var(--ck-muted);
  font-size: 12px;
}

.ck-inline-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
}

.ck-door-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}

.ck-door-card {
  padding: 18px;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.06);
}

.ck-door-card.is-busy {
  border-color: rgba(245, 158, 11, 0.35);
}

.ck-door-card.is-free {
  border-color: rgba(34, 197, 94, 0.35);
}

.ck-door-meta {
  display: grid;
  gap: 6px;
  margin-top: 10px;
  color: var(--ck-muted);
  font-size: 13px;
}

.ck-company-card .box-body,
.ck-company-card .box-body * {
  position: relative;
}

.ck-company-stats .box {
  margin-bottom: 20px;
}

.ck-metric-card {
  position: relative;
  min-height: 174px;
  color: #fff;
}

.ck-metric-card .box-body {
  padding: 24px;
}

.ck-metric-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.26), transparent 34%);
  pointer-events: none;
}

.ck-metric-card-primary {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
}

.ck-metric-card-success {
  background: linear-gradient(135deg, #0f766e, #14b8a6);
}

.ck-metric-card-accent {
  background: linear-gradient(135deg, #7c3aed, #2563eb);
}

.ck-metric-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.ck-metric-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 20px;
}

.ck-metric-card strong,
.ck-metric-card span {
  display: block;
}

.ck-metric-card strong {
  margin-bottom: 8px;
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
}

.ck-metric-card span {
  color: rgba(255, 255, 255, 0.84);
}

.ck-directory-box {
  background: rgba(255, 255, 255, 0.94);
}

.ck-directory-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ck-directory-head .box-title {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
}

.ck-companies-table td {
  vertical-align: middle !important;
}

.ck-company-row {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 250px;
}

.ck-company-row-logo {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  overflow: hidden;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
}

.ck-company-row-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ck-company-row-copy,
.ck-contact-stack {
  display: grid;
  gap: 4px;
}

.ck-company-row-copy strong,
.ck-contact-stack strong {
  color: #0f172a;
}

.ck-company-row-copy span,
.ck-contact-stack span,
.ck-branding-stack .ck-row-meta {
  color: var(--ck-muted);
  font-size: 13px;
}

.ck-branding-stack {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 150px;
}

.ck-color-swatch {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--swatch);
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.ck-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--ck-primary);
  font-weight: 700;
}

.ck-action-cluster {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.ck-company-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.ck-company-logo {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 18px;
  overflow: hidden;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
}

.ck-company-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.table > thead > tr > th {
  border-bottom: 1px solid var(--ck-border);
  color: #475569;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.table > tbody > tr > td {
  padding: 14px 10px;
  border-top-color: #edf2f7;
}

.btn {
  border-radius: 14px;
}

.btn-lg {
  border-radius: 16px;
}

.form-control,
.input-group-sm > .form-control,
.input-group-sm > .input-group-btn > .btn {
  border-radius: 12px;
}

.hide {
  display: none !important;
}

@keyframes ck-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1200px) {
  .ck-form-shell,
  .ck-kiosk-shell,
  .ck-kiosk-hero {
    grid-template-columns: 1fr;
  }

  .ck-checkin-hero {
    grid-template-columns: minmax(110px, 1fr) minmax(220px, 1.3fr) minmax(110px, 1fr);
    gap: 12px;
  }

  .ck-form-badges {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .content,
  .content-header {
    padding-left: 16px;
    padding-right: 16px;
  }

  .ck-toolbar,
  .ck-form-header,
  .ck-wizard-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .ck-page-title,
  .ck-kiosk-copy h2,
  .ck-form-title {
    font-size: 28px;
  }

  .ck-wizard-form,
  .ck-form-header,
  .ck-kiosk-hero,
  .ck-kiosk-ticket,
  .box .box-body,
  .box .box-header {
    padding-left: 18px;
    padding-right: 18px;
  }

  .ck-row-actions {
    min-width: 300px;
  }

  .ck-checkin-hero {
    grid-template-columns: minmax(88px, 1fr) minmax(150px, 1.45fr) minmax(88px, 1fr);
    gap: 8px;
    margin-bottom: 14px;
  }

  .ck-checkin-hero-logo,
  .ck-checkin-hero-clock {
    min-height: 76px;
    padding: 10px 12px;
    border-radius: 16px;
  }

  .ck-checkin-hero-logo img {
    max-height: 44px;
  }

  .ck-checkin-hero-logo span {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    font-size: 18px;
  }

  .ck-checkin-hero-clock small {
    margin-bottom: 4px;
    font-size: 10px;
  }

  .ck-checkin-hero-clock strong {
    font-size: clamp(22px, 7vw, 34px);
  }

  .ck-login-stage {
    max-width: 100%;
  }

  .ck-login-card.box .box-body {
    padding: 22px 18px 20px;
  }

  .ck-login-mark-card {
    min-height: 120px;
  }

  .ck-directory-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .ck-company-row,
  .ck-branding-stack,
  .ck-action-cluster {
    min-width: 0;
  }
}

/* Admin shell override inspired by the MQV template */
body,
body.skin-blue.sidebar-mini {
  background: #edf3f9 !important;
}

.wrapper.boxed-wrapper {
  max-width: none;
  background: transparent;
}

body.skin-blue .wrapper {
  width: 100%;
  max-width: none;
  min-height: 100vh;
}

body.skin-blue .wrapper.boxed-wrapper,
body.skin-blue .content-wrapper {
  background: #edf3f9 !important;
}

body.skin-blue .content {
  padding: 16px 14px 28px;
}

body.skin-blue .content-header {
  display: none;
}

body.skin-blue .main-header .logo,
body.skin-blue .main-header .navbar {
  background: #ffffff !important;
}

body.skin-blue .main-header .logo {
  border-bottom: 1px solid #dde6f1 !important;
  border-right: 1px solid #dde6f1 !important;
}

body.skin-blue .main-sidebar,
body.skin-blue .left-side {
  background: #ffffff !important;
  border-right: 1px solid #dde6f1 !important;
}

body.skin-blue .sidebar {
  padding-top: 10px;
}

body.skin-blue .sidebar-menu > li.header {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.skin-blue .sidebar-menu > li > a {
  color: #41566f;
  font-weight: 500;
  background: transparent !important;
}

body.skin-blue .sidebar-menu > li > a > i {
  color: #70839a;
}

body.skin-blue .sidebar-menu > li.active > a,
body.skin-blue .sidebar-menu > li:hover > a {
  background: #edf4ff !important;
  border-left-color: transparent !important;
  color: #1d4ed8 !important;
}

body.skin-blue .sidebar-menu > li.active > a > i,
body.skin-blue .sidebar-menu > li:hover > a > i {
  color: #1d4ed8;
}

body.skin-blue .ck-brand-lockup {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 10px 18px !important;
  min-width: 230px;
  min-height: 60px;
}

.ck-shell-logo-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  padding: 2px 8px;
  background: #fff;
  border: 1px solid rgba(221, 230, 241, 0.95);
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(21, 43, 76, 0.06);
}

body.skin-blue .ck-brand-logo {
  display: block;
  width: auto;
  height: 40px;
  max-width: 170px;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
}

body.skin-blue .ck-shell-logo .logo-lg {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100%;
  height: 100%;
  color: #16396b !important;
}

body.skin-blue .ck-shell-navbar {
  border-bottom: 1px solid #dde6f1;
}

body.skin-blue .main-header .navbar .nav > li > a,
body.skin-blue .main-header .logo,
body.skin-blue .main-header .logo:hover {
  color: #334155;
}

body.skin-blue .main-header .sidebar-toggle {
  color: #64748b !important;
}

body.skin-blue .main-header .sidebar-toggle:hover {
  background: transparent !important;
  color: #2563eb !important;
}

body.skin-blue .user-panel {
  display: none;
}

.ck-user-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-right: 10px;
  border-radius: 999px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 700;
}

.ck-user-avatar-lg {
  width: 56px;
  height: 56px;
  margin-right: 0;
  font-size: 18px;
}

body.skin-blue .ck-user-menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 0;
  padding: 0;
  margin: 0 10px 0 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  line-height: 1;
  transition: color 0.18s ease;
}

body.skin-blue .ck-user-menu-toggle:hover,
body.skin-blue .ck-user-menu-toggle:focus {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.skin-blue .ck-user-menu-toggle .hidden-xs {
  color: #0f172a !important;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.skin-blue .ck-user-menu-caret {
  color: #94a3b8;
  font-size: 12px;
  line-height: 1;
}

body.skin-blue .ck-user-menu-toggle .hidden-xs::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 7px;
  border-radius: 999px;
  background: #2563eb;
  vertical-align: middle;
}

body.skin-blue .navbar-custom-menu > .navbar-nav > li > .dropdown-menu {
  border: 1px solid #dbe5f0;
  border-radius: 20px;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.14);
  text-align: left;
}

body.skin-blue .navbar-custom-menu > .navbar-nav > li.user.user-menu {
  position: relative !important;
}

body.skin-blue .navbar-custom-menu > .navbar-nav > li.user.user-menu.open > .dropdown-menu,
body.skin-blue .navbar-custom-menu > .navbar-nav > li.user.user-menu > .dropdown-menu {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  right: 0 !important;
  left: auto !important;
  width: 284px;
  padding: 0;
  overflow: visible;
  margin-top: 0;
  z-index: 1200 !important;
  background: #ffffff;
  border: 1px solid rgba(219, 229, 240, 0.92);
  border-radius: 22px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.16);
}

body.skin-blue .navbar-custom-menu > .navbar-nav > li.user.user-menu > .dropdown-menu::before {
  content: "";
  position: absolute;
  top: -7px;
  right: 28px;
  width: 14px;
  height: 14px;
  transform: rotate(45deg);
  background: #ffffff;
  border-left: 1px solid rgba(219, 229, 240, 0.92);
  border-top: 1px solid rgba(219, 229, 240, 0.92);
  box-shadow: -2px -2px 10px rgba(15, 23, 42, 0.04);
}

body.skin-blue .ck-user-card {
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(37, 99, 235, 0.06), rgba(37, 99, 235, 0)),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  text-align: left;
  min-height: 0;
  height: auto;
}

body.skin-blue .ck-user-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

body.skin-blue .ck-user-copy {
  display: grid;
  gap: 2px;
}

body.skin-blue .ck-user-copy strong {
  color: #0f172a;
  font-size: 17px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.03em;
}

body.skin-blue .ck-user-copy span {
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

body.skin-blue .navbar-nav > .user-menu > .dropdown-menu > li.user-header > p,
body.skin-blue .navbar-nav > .user-menu > .dropdown-menu > li.user-header {
  text-align: left !important;
}

body.skin-blue .navbar-nav > .user-menu > .dropdown-menu > li.user-header > p {
  padding: 0;
  margin: 0;
}

body.skin-blue .navbar-nav > .user-menu > .dropdown-menu > li.user-header > p > small {
  display: block;
  margin-top: 2px;
  color: #64748b;
  font-size: 11px;
  letter-spacing: 0.08em;
}

body.skin-blue .ck-user-email {
  margin-top: 8px;
  color: #334155;
  font-size: 12px;
  line-height: 1.4;
}

body.skin-blue .ck-user-meta {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

body.skin-blue .ck-user-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  background: #eef4ff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 600;
}

body.skin-blue .ck-user-menu > li {
  float: none;
}

body.skin-blue .main-header,
body.skin-blue .main-header .navbar,
body.skin-blue .navbar-custom-menu {
  height: 100%;
}

body.skin-blue .main-header .navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

body.skin-blue .main-header .navbar > .nav.navbar-nav {
  display: flex;
  align-items: center;
  margin-right: auto;
  float: none !important;
}

body.skin-blue .navbar-custom-menu > .navbar-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
}

body.skin-blue .navbar-custom-menu > .navbar-nav > li.user.user-menu {
  display: flex;
  align-items: center;
  height: 100%;
}

body.skin-blue .navbar-custom-menu > .navbar-nav > li.user.user-menu > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.skin-blue .navbar-custom-menu {
  margin-left: auto;
  overflow: visible !important;
}

body.skin-blue .ck-user-brand i {
  font-size: 13px;
}

body.skin-blue .ck-user-menu-separator {
  margin: 0;
  border-top: 1px solid #dbe5f0;
  opacity: 0.95;
}

body.skin-blue .ck-user-actions {
  padding: 12px 14px 14px;
}

body.skin-blue .ck-logout-btn {
  height: 38px;
  border: 1px solid #cfd9e6;
  border-radius: 12px;
  background: #fff;
  color: #16396b;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

body.skin-blue .ck-logout-btn:hover,
body.skin-blue .ck-logout-btn:focus {
  background: #f6f9ff;
  border-color: #a9bdd8;
  color: #16396b;
}

@media (max-width: 480px) {
  body.skin-blue .navbar-custom-menu > .navbar-nav > li.user.user-menu > .dropdown-menu {
    width: min(284px, calc(100vw - 20px));
    right: 10px;
    left: auto;
  }

  body.skin-blue .ck-user-card-top {
    align-items: flex-start;
  }

  body.skin-blue .ck-user-copy strong {
    font-size: 17px;
  }
}

body.skin-blue .box,
body.skin-blue .ck-company-card {
  border-radius: 26px;
  box-shadow: 0 18px 40px rgba(21, 43, 76, 0.08);
}

body.skin-blue .main-footer {
  background: #ffffff !important;
  border-top: 1px solid #dde6f1 !important;
  color: #50647d !important;
  font-size: 13px !important;
}

body.skin-blue .btn-default {
  border-color: #cdd9e8;
  color: #244269;
}

body.skin-blue .btn-primary {
  border-color: transparent;
  background: linear-gradient(90deg, #2f6dea, #3498ea);
}

body.skin-blue .content-wrapper,
body.skin-blue .main-footer {
  margin-left: 230px;
  width: auto !important;
  min-width: 0;
}

body.skin-blue.ck-sidebar-collapsed .content-wrapper,
body.skin-blue.ck-sidebar-collapsed .main-footer {
  margin-left: 0 !important;
  width: auto !important;
}

body.skin-blue.ck-sidebar-collapsed .main-sidebar {
  transform: translate(-230px, 0) !important;
}

body.skin-blue.ck-sidebar-collapsed .main-header .logo {
  width: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-right: 0 !important;
}

body.skin-blue.ck-sidebar-collapsed .main-header .navbar {
  margin-left: 0 !important;
}

body.skin-blue.sidebar-mini.sidebar-collapse .main-header .logo,
body.skin-blue.ck-sidebar-collapsed .main-header .logo {
  width: 50px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.skin-blue.sidebar-mini.sidebar-collapse .main-header .logo > .logo-mini,
body.skin-blue.ck-sidebar-collapsed .main-header .logo > .logo-mini {
  display: none !important;
}

body.skin-blue.sidebar-mini.sidebar-collapse .main-sidebar .sidebar,
body.skin-blue.ck-sidebar-collapsed .main-sidebar .sidebar {
  padding-top: 24px !important;
}

.ck-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  padding: 28px 30px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 24% 120%, rgba(255, 255, 255, 0.18), transparent 18%),
    radial-gradient(circle at 96% 12%, rgba(255, 255, 255, 0.12), transparent 15%),
    linear-gradient(90deg, #18387d 0%, #2265af 100%);
  color: #fff;
  overflow: hidden;
}

.ck-hero::after {
  content: "";
  position: absolute;
  top: -46px;
  right: -40px;
  width: 170px;
  height: 170px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.ck-hero-copy,
.ck-hero-side {
  position: relative;
  z-index: 1;
}

.ck-hero-copy h2 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.ck-hero-copy p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
}

.ck-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 600;
}

.ck-summary-grid .box {
  margin-bottom: 20px;
}

.ck-summary-card {
  min-height: 150px;
  background: #ffffff;
}

.ck-summary-card .box-body {
  padding: 22px 18px;
}

.ck-summary-label {
  display: block;
  margin-bottom: 10px;
  color: #5c7392;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.ck-summary-card strong {
  display: block;
  margin-bottom: 8px;
  color: #0f2f63;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}

.ck-summary-card p {
  margin: 0;
  color: #69809e;
}

.ck-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.ck-panel-header .box-title {
  color: #0f2f63;
  font-size: 18px;
  font-weight: 700;
}

.ck-filter-card,
.ck-data-shell,
.ck-directory-box {
  background: #ffffff;
}

.ck-filter-grid label {
  display: block;
  margin-bottom: 8px;
  color: #0f2f63;
  font-size: 13px;
  font-weight: 600;
}

.ck-filter-actions {
  margin-top: 12px;
}

.ck-filter-actions .btn {
  min-width: 180px;
}

@media (max-width: 768px) {
  .ck-hero,
  .ck-panel-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 767px) {
  body.skin-blue .content-wrapper,
  body.skin-blue .main-footer {
    margin-left: 0 !important;
    width: auto !important;
  }
}

/* Final shell palette override to match the white/blue MQV reference */
body.skin-blue .main-header .logo,
body.skin-blue .main-header .navbar,
body.skin-blue .main-footer,
body.skin-blue .main-sidebar,
body.skin-blue .left-side,
body.skin-blue .sidebar {
  background: #ffffff !important;
  background-image: none !important;
}

body.skin-blue .content-wrapper,
body.skin-blue .wrapper,
body.skin-blue {
  background: #edf3f9 !important;
}

body.skin-blue .main-header .logo {
  border-right: 1px solid #dde6f1 !important;
  border-bottom: 1px solid #dde6f1 !important;
}

body.skin-blue .main-sidebar {
  border-right: 1px solid #dde6f1 !important;
}

body.skin-blue .sidebar-menu > li.header {
  color: #64748b !important;
}

body.skin-blue .sidebar-menu > li > a {
  color: #41566f !important;
  background: transparent !important;
}

body.skin-blue .sidebar-menu > li > a > i {
  color: #70839a !important;
}

body.skin-blue .sidebar-menu > li.active > a,
body.skin-blue .sidebar-menu > li:hover > a {
  background: #edf4ff !important;
  color: #1d4ed8 !important;
  border-left-color: transparent !important;
}

body.skin-blue .sidebar-menu > li.active > a > i,
body.skin-blue .sidebar-menu > li:hover > a > i {
  color: #1d4ed8 !important;
}

body.skin-blue .main-header .navbar .nav > li > a,
body.skin-blue .main-header .logo,
body.skin-blue .main-header .logo:hover,
body.skin-blue .main-header .sidebar-toggle {
  color: #334155 !important;
}

body.skin-blue .ck-hero-compact {
  margin-bottom: 18px;
  padding-top: 24px;
  padding-bottom: 24px;
}

body.skin-blue .ck-company-stats .ck-metric-card {
  min-height: 138px;
  color: #183b6b !important;
  background: #ffffff !important;
  border: 1px solid #dfe8f2 !important;
  box-shadow: 0 16px 30px rgba(32, 61, 98, 0.08) !important;
}

body.skin-blue .ck-company-stats .ck-metric-card::before {
  display: none !important;
}

body.skin-blue .ck-company-stats .ck-metric-card .box-body {
  padding: 22px !important;
}

body.skin-blue .ck-company-stats .ck-metric-icon {
  background: #edf4ff !important;
  color: #1d4ed8 !important;
}

body.skin-blue .ck-company-stats .ck-metric-card strong {
  color: #103464 !important;
  font-size: 34px !important;
}

body.skin-blue .ck-company-stats .ck-metric-card span {
  color: #617791 !important;
}

body.skin-blue .ck-directory-stack {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ck-grid-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding: 16px 18px;
  border: 1px solid #e3ebf4;
  border-radius: 18px;
  background: linear-gradient(180deg, #fbfdff, #f5f9fd);
}

.ck-grid-toolbar-left,
.ck-grid-toolbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ck-grid-toolbar-label {
  color: #64748b;
  font-size: 13px;
  font-weight: 500;
}

.ck-grid-select {
  width: 90px;
}

.ck-grid-search {
  position: relative;
  width: 320px;
}

.ck-grid-search i {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  color: #94a3b8;
}

.ck-grid-search .form-control {
  height: 42px;
  padding-left: 40px;
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  box-shadow: none;
}

.ck-clean-grid thead th {
  color: #16396b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.ck-clean-grid tbody td {
  vertical-align: middle !important;
  color: #334155;
  font-size: 14px;
  padding-top: 18px !important;
  padding-bottom: 18px !important;
}

.ck-grid-company {
  display: grid;
  gap: 4px;
}

.ck-grid-company strong {
  color: #0f2f63;
  font-size: 15px;
}

.ck-grid-company span,
.ck-grid-company small {
  color: #64748b;
}

.ck-grid-company small {
  font-size: 12px;
}

.ck-grid-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding-top: 10px;
  border-top: 1px solid #edf2f7;
}

.ck-pagination {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.ck-pagination-btn {
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid #d6e0eb;
  border-radius: 12px;
  background: #ffffff;
  color: #244269;
  font-weight: 600;
}

.ck-pagination-btn.is-active {
  border-color: transparent;
  background: linear-gradient(90deg, #2f6dea, #3498ea);
  color: #ffffff;
}

.ck-pagination-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.ck-company-directory-shell {
  border: 1px solid #dfe8f2;
}

.ck-company-directory-shell .box-header {
  padding-bottom: 14px;
}

.ck-company-directory-shell .box-body {
  padding-top: 10px;
}

@media (max-width: 768px) {
  .ck-grid-toolbar,
  .ck-grid-footer,
  body.skin-blue .ck-directory-stack {
    flex-direction: column;
    align-items: stretch;
  }

  .ck-grid-search {
    width: 100%;
  }
}

/* Companies page redesign */
.ck-company-page {
  display: grid;
  gap: 18px;
}

.ck-company-hero-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 28px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 82% 20%, rgba(255, 255, 255, 0.14), transparent 18%),
    radial-gradient(circle at 30% 120%, rgba(255, 255, 255, 0.12), transparent 20%),
    linear-gradient(90deg, #18387d 0%, #2265af 100%);
  color: #ffffff;
  box-shadow: 0 20px 40px rgba(17, 44, 84, 0.16);
}

.ck-company-hero-copy h2 {
  margin: 0 0 8px;
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.ck-company-hero-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ck-company-hero-copy p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
}

.ck-company-hero-actions {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.ck-company-summary-row .col-md-4 {
  margin-bottom: 18px;
}

.ck-company-summary-card {
  height: 100%;
  padding: 22px;
  border: 1px solid #dfe8f2;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(25, 50, 84, 0.06);
}

.ck-company-summary-card small,
.ck-company-summary-card strong,
.ck-company-summary-card span {
  display: block;
}

.ck-company-summary-card small {
  margin-bottom: 10px;
  color: #5d7392;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ck-company-summary-card strong {
  margin-bottom: 8px;
  color: #123664;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}

.ck-company-summary-card span {
  color: #6c819b;
  font-size: 14px;
}

.ck-company-grid-shell {
  border: 1px solid #dfe8f2;
  border-radius: 28px !important;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(28, 52, 86, 0.08);
}

.ck-company-grid-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 16px;
}

.ck-company-grid-head-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ck-company-grid-head .box-title {
  color: #133866;
  font-size: 30px;
  font-weight: 700;
}

.ck-company-grid-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 16px 18px;
  border: 1px solid #e3ebf4;
  border-radius: 18px;
  background: linear-gradient(180deg, #fbfdff, #f5f9fd);
}

.ck-company-toolbar-block {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ck-company-toolbar-block label,
.ck-company-toolbar-block span {
  margin: 0;
  color: #617791;
  font-size: 13px;
  font-weight: 500;
}

.ck-company-page-size {
  width: 92px;
}

.ck-company-search-wrap {
  position: relative;
  width: 360px;
}

.ck-company-search-wrap i {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  color: #94a3b8;
}

.ck-company-search-wrap .form-control {
  height: 44px;
  padding-left: 40px;
  border: 1px solid #d8e2ee;
  border-radius: 14px;
  box-shadow: none;
}

.ck-company-table thead th {
  color: #133866 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.07em !important;
}

.ck-company-table tbody td {
  padding-top: 18px !important;
  padding-bottom: 18px !important;
  color: #334155;
  vertical-align: middle !important;
}

.ck-company-table tbody tr:hover {
  background: #f9fbff;
}

.ck-grid-company {
  display: grid;
  gap: 4px;
}

.ck-grid-company strong {
  color: #0f2f63;
  font-size: 15px;
}

.ck-grid-company span {
  color: #64748b;
  font-size: 13px;
}

.ck-table-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: #eef2f7;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
}

.ck-table-status.is-active {
  background: #dcfce7;
  color: #166534;
}

.ck-company-grid-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #edf2f7;
}

@media (max-width: 992px) {
  .ck-company-hero-card,
  .ck-company-grid-head,
  .ck-company-grid-toolbar,
  .ck-company-grid-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .ck-company-hero-actions {
    justify-items: stretch;
  }

  .ck-company-search-wrap {
    width: 100%;
  }

  .ck-company-grid-head-actions {
    width: 100%;
    justify-content: space-between;
  }
}
