.lk-calendar-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
 
  background: #3c46a1;
  border-radius: 4px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.lk-calendar-box {
  padding: 16px;
}

.lk-select {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: #ffffff;
  font-weight: 800;
  line-height: 14px;
  letter-spacing: 0.4px;
}

.lk-month h4 {
  font-weight: 800;
  font-size: 11px;
  line-height: 16px;
  color: var(--color-white);
}

.ik-icon {
  height: 24px;
  width: 24px;
  background: #26f0d21a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lk-month {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px 0;
}

.lk-month span {
  cursor: pointer;
  color: #6ce4ff;
  font-size: 14px;
}

.lk-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  min-height: 370px;
}

.lk-grid-spacer {
  visibility: hidden;
  pointer-events: none;
  min-height: 58px;
}

.lk-day {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  border: 1px solid #ffffff1a;
  background: #404aa3;
  font-size: 14px;
  font-weight: 800;
  line-height: 20px;
  color: #ffffff;
  min-height: 58px;
  justify-content: center;
}

.lk-day span,
.lk-day small {
  font-weight: 800;
  font-size: 7px;
  line-height: 10px;
  letter-spacing: 0.3px;
  text-align: center;
  font-family: "Pilat", var(--font-main);
  color: #ffffff99;
}

.lk-available {
  border: 1px solid #01ff6b !important;
}

.lk-available span {
  color: #00ff6b;
}

.lk-limited {
  border: 1px solid #ff3b4acc;
}

.lk-limited span {
  color: #ff3b4a;
}

.lk-disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.lk-active {
  border-width: 2px !important;
}

.lk-available.lk-active {
  background-color: #37589c;
}

.lk-limited.lk-active {
  background-color: #ff3b4a10;
}

.lk-sidebar-info {
  background: #384192;
  padding: 16px;
}

.idk-img {
  /*height: 120px;*/
}

.lk-sidebar-info img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lk-sidebar-info h3 {
  color: #26F0D2;
  margin: 16px 0 10px 0;
  font-family: "Pilat", var(--font-main);
  font-weight: 800;
  font-size: 18px;
  line-height: 18px;
  letter-spacing: 0.3px;
}

.lk-sidebar-info p {
  font-family: "Pilat", var(--font-main);
  font-weight: 400;
  font-size: 13px;
  line-height: 1.3;
  color: #FFFFFF;
  opacity: unset;
}

/* LEGEND */
.lk-legend {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  font-size: 10px;
  justify-content: center;
  font-weight: 800;
  line-height: 14px;
  color: #ffffff;
}

.lk-dot {
  width: 8px;
  height: 8px;
  display: inline-block;
  border-radius: 50%;
  margin-right: 5px;
}

.lk-green {
  background: #00ff6b;
}

.lk-red {
  background: #ff3b4a;
  position: relative;
}

.lk-red::after {
  content: "";
  position: absolute;
  width: 3px;
  height: 3px;
  background: #d9d9d9;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.lk-gray {
  background: #ffffff4d;
}

/* MODAL */

.lk-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 15px;
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.lk-modal-overlay.is-open {
  display: flex;
}

.lk-modal-content {
  width: 100%;
  max-width: 820px;
  background: #3c46a1;
  border-radius: 12px;
  overflow: hidden;
  color: #ffffff;
  border: 1px solid #01FF6B1A;
}

.lk-modal-header {
  padding: 18px;
  position: relative;
}

.lk-modal-header h2 {
  font-weight: 800;
  font-size: 18px;
  line-height: 22px;
  letter-spacing: -0.5px;
}

.lk-close {
  position: absolute;
  right: 16px;
  top: 16px;
  font-size: 20px;
  cursor: pointer;
  opacity: 0.7;
}

.lk-table-container {
  width: 100%;
  overflow-x: auto;
}

.lk-kids-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
}

.lk-kids-table thead {
  background: #5C61FA;
}

.lk-kids-table th {
  padding: 16px;
  text-align: center;
  border-right: 2px solid #3c46a1;
  font-family: Pilat;
  font-weight: 800;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0.3px;
}

.lk-kids-table td {
  padding: 16px;
  color: #FFFFFF80;
  background: #FFFFFF0D;
  border-right: 2px solid #3c46a1;
  font-family: Pilat;
  font-weight: 400;
  font-size: 13px;
  line-height: 100%;
  text-align: center;
  position: relative;
}

.lk-kids-table tr:hover td {
  background: #4a54b1;
}

.lk-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 2px solid #FFFFFF;
  border-radius: 4px;
  display: inline-block;
  position: relative;
}

input[type="checkbox"]:checked {
  background: #52efd8;
  border-color: #52efd8;
}

input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid #3f479b;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.lk-modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px;
  flex-wrap: wrap;
  gap: 14px;
}

.lk-btn-add {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: Pilat;
  font-weight: 400;
  font-size: 14px;
  color: #26F0D2;
  cursor: pointer;
}

.lk-kids-table td:last-child {
  color: #ffffff;
}

.lk-modal-footer .btn-container {
  margin: 0;
}

/* RESPONSIVE */

@media (max-width: 1100px) {
  .lk-calendar-layout {
    grid-template-columns: 1fr;
  }

  .lk-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 600px) {
  .lk-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .lk-legend {
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .lk-modal-content {
    max-width: 95%;
  }

  .lk-modal-header h2 {
    font-size: 15px;
  }

  .lk-kids-table th,
  .lk-kids-table td {
    font-size: 12px;
    padding: 8px;
  }

  .lk-modal-footer {
    flex-direction: column;
  }

  .lk-btn-add {
    width: 100%;
  }
}