/* COU_ZONE_SCHEDULE_PREMIUM_V2 */

#cou-ai-db-zones-panel .cou-sched-editor {
  display: grid !important;
  grid-template-columns: 1fr auto;
  gap: 14px !important;
  padding: 20px !important;
  margin-top: 14px !important;
  border: 1px solid #345b73 !important;
  border-radius: 14px !important;
  background: linear-gradient(
    145deg, #0c2a40 0%, #071b2c 100%
  ) !important;
  box-shadow: 0 12px 28px rgba(0,0,0,.18);
  min-width: 0;
  box-sizing: border-box;
}

#cou-ai-db-zones-panel .cou-sched-editor > strong {
  grid-column: 1 / -1;
  font-size: 16px;
  font-weight: 700;
  color: #f1f8ff;
  padding-bottom: 13px;
  border-bottom: 1px solid #29495e;
}

#cou-ai-db-zones-panel .cou-sched-editor > select {
  grid-column: 1 / -1;
  width: 100%;
  height: 43px;
  border-radius: 9px;
  padding: 0 13px;
  background: #102e45;
  border: 1px solid #3c647d;
  color: #eff8ff;
  font-size: 14px;
}

#cou-ai-db-zones-panel .cou-sched-editor > div[style*="grid"] {
  grid-column: 1 / -1;
  min-width: 0;
  gap: 12px !important;
}

#cou-ai-db-zones-panel .cou-sched-interval {
  display: grid !important;
  grid-template-columns: minmax(0,1fr) 18px minmax(0,1fr);
  column-gap: 12px !important;
  row-gap: 14px !important;
  align-items: center !important;
  background: #0b2336;
  border: 1px solid #2d5069;
  border-radius: 11px;
  padding: 16px;
  min-width: 0;
}

#cou-ai-db-zones-panel .cou-sched-interval > input[type="time"] {
  width: 100%;
  min-width: 0;
  height: 43px;
  padding: 0 11px;
  font-size: 15px;
  font-weight: 600;
  background: #13334c;
  border: 1px solid #3b617c;
  border-radius: 8px;
  color: #f3faff;
  box-sizing: border-box;
}

#cou-ai-db-zones-panel .cou-sched-interval > span {
  text-align: center;
  color: #82abc3;
  font-weight: 700;
}

#cou-ai-db-zones-panel .cou-sched-days {
  grid-column: 1 / -1;
  display: grid !important;
  grid-template-columns: repeat(7,minmax(0,1fr));
  gap: 6px !important;
  min-width: 0;
}

#cou-ai-db-zones-panel .cou-sched-days label {
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px !important;
  margin: 0;
  padding: 8px 2px;
  min-width: 0;
  background: #123148;
  border: 1px solid #355670;
  border-radius: 8px;
  font-size: 12px !important;
  color: #c7ddec;
  cursor: pointer;
}

#cou-ai-db-zones-panel .cou-sched-days input {
  appearance: auto;
  width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
  accent-color: #18b8ae;
  cursor: pointer;
}

#cou-ai-db-zones-panel .cou-sched-interval > button {
  grid-column: 1 / -1;
  justify-self: end;
  width: auto !important;
  background: transparent !important;
  border-color: #604957 !important;
  color: #f0adb5 !important;
  font-size: 12px;
}

#cou-ai-db-zones-panel .cou-sched-editor > button {
  min-height: 41px;
  width: auto !important;
  padding: 10px 14px !important;
  border-radius: 9px !important;
  font-size: 13px;
  font-weight: 600;
}

#cou-ai-db-zones-panel .cou-sched-editor > button:nth-of-type(1) {
  grid-column: 1 / -1;
  background: #102d43;
  border: 1px dashed #4c7893;
  color: #abd8f2;
}

#cou-ai-db-zones-panel .cou-sched-editor > button:nth-of-type(2) {
  grid-column: 2;
  grid-row: auto;
  background: #087f79;
  border-color: #15b6ac;
  color: white;
  justify-self: stretch;
  min-width: 160px;
}

#cou-ai-db-zones-panel .cou-sched-editor > button:nth-of-type(3) {
  grid-column: 1;
  grid-row: auto;
  background: #15344b;
  border-color: #3b627c;
  color: #d4e5f1;
  justify-self: stretch;
}

#cou-ai-db-zones-panel .cou-sched-status {
  grid-column: 1 / -1;
  font-size: 12px;
  color: #a9cfdf;
  min-height: 16px;
}

@media (max-width: 700px) {
  #cou-ai-db-zones-panel .cou-sched-editor {
    padding: 13px !important;
  }

  #cou-ai-db-zones-panel .cou-sched-interval {
    padding: 10px;
    column-gap: 6px !important;
  }

  #cou-ai-db-zones-panel .cou-sched-days {
    grid-template-columns: repeat(4,minmax(0,1fr));
  }

  #cou-ai-db-zones-panel .cou-sched-editor > button:nth-of-type(2) {
    min-width: 0;
  }
}
