/* public/assets/css/solutions.css */

/* Expanded card modal */
.kc-cardmodal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.kc-cardmodal.is-open {
  display: block;
}

.kc-cardmodal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

.kc-cardmodal__panel {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(980px, calc(100vw - 40px));
  max-height: calc(100vh - 40px);
  overflow: auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  padding: 26px 26px 18px;
}

.kc-cardmodal__header {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}

.kc-cardmodal__eyebrow {
  font-size: 14px;
  color: #5b6777;
  margin-bottom: 6px;
}

.kc-cardmodal__title {
  margin: 0;
  font-size: 26px;
  line-height: 1.2;
  color: #112B45;
}

.kc-cardmodal__close {
  border: 0;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 10px;
}

.kc-cardmodal__close:hover {
  background: rgba(0,0,0,0.06);
}

.kc-cardmodal__body h3 {
  margin: 18px 0 8px;
  font-size: 18px;
  color: #112B45;
}

.kc-cardmodal__body p {
  margin: 0 0 10px;
  color: #2b3c52;
  line-height: 1.55;
}

.kc-cardmodal__body ul {
  margin: 0 0 10px 18px;
  color: #2b3c52;
}

.kc-cardmodal__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(17,43,69,0.12);
}

.kc-cardmodal__nav {
  display: flex;
  gap: 10px;
  align-items: center;
}

.kc-cardmodal__actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.kc-cardmodal__nav button[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Prevent page scroll while open */
html.kc-modal-open,
body.kc-modal-open {
  overflow: hidden;
}
