/* Latar belakang dengan nuansa biru air */
body {
  background: #e0f7ff;
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 20px;
}

.container {
  max-width: 800px;
  margin: 0 auto;
}

/* Gaya neumorphism untuk container */
.neumorphism {
  background: #e0f7ff;
  box-shadow: 8px 8px 16px #a1cbe0, -8px -8px 16px #ffffff;
  border-radius: 15px;
}

/* Section Form, List, dan Chart */
.schedule-form, .schedule-list, .chart-section {
  margin-bottom: 30px;
  padding: 20px;
}

.low-feed {
  color: #f44336; /* merah */
}

.form-group {
  margin-bottom: 15px;
}

label {
  display: block;
  margin-bottom: 5px;
  color: #0277bd;
}

/* Card Status */
.status-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 20px;
  margin-bottom: 30px;
  border-radius: 15px;
  background: #e0f7ff;
  box-shadow: 8px 8px 16px #a1cbe0, -8px -8px 16px #ffffff;
  transition: transform 0.3s ease;
}

.status-card:hover {
  transform: translateY(-5px);
}

.status-icon {
  font-size: 2.5em;
  margin-right: 15px;
  color: #0277bd;
  animation: pulse 2s infinite;
}

.status-content p {
  margin: 5px 0;
  font-size: 1.2em;
  color: #0277bd;
}

/* Input numerik dengan efek inset */
.input-number.neumorphism {
  width: 100%;
  padding: 10px;
  font-size: 1em;
  border: none;
  border-radius: 12px;
  background: #e0f7ff;
  box-shadow: inset 4px 4px 8px #a1cbe0, inset -4px -4px 8px #ffffff;
  outline: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

/* Tombol */
.btn.neumorphism {
  cursor: pointer;
  margin-top: 10px;
  padding: 12px 20px;
  background: #e0f7ff;
  border: none;
  border-radius: 12px;
  font-size: 1em;
  color: #0277bd;
  box-shadow: 8px 8px 16px #a1cbe0, -8px -8px 16px #ffffff;
  transition: all 0.3s ease;
}

.btn.neumorphism:active {
  box-shadow: inset 8px 8px 16px #a1cbe0, inset -8px -8px 16px #ffffff;
}

/* Dropdown dengan efek inset */
.dropdown.neumorphism {
  width: 100%;
  padding: 10px;
  font-size: 1em;
  border: none;
  border-radius: 12px;
  background: #e0f7ff;
  box-shadow: inset 4px 4px 8px #a1cbe0, inset -4px -4px 8px #ffffff;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%230277bd" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 10px center;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

/* Wheel Time Picker */
.time-picker .picker-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.picker-wrapper {
  position: relative;
  width: 100px;
  height: 120px;
  overflow: hidden;
  border-radius: 12px;
  margin: 0 5px;
}

.picker {
  height: 100%;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.picker::-webkit-scrollbar {
  display: none;
}

.picker div {
  height: 40px;
  line-height: 40px;
  text-align: center;
  scroll-snap-align: center;
  font-size: 1.2em;
  color: #0277bd;
}

/* Indicator */
.indicator {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 40px;
  margin-top: -20px;
  border-top: 1px solid rgba(2, 119, 189, 0.5);
  border-bottom: 1px solid rgba(2, 119, 189, 0.5);
  pointer-events: none;
}

/* Card Jadwal */
.schedule-item {
  margin: 15px 0;
}

.schedule-card {
  background: #e0f7ff;
  border-radius: 15px;
  padding: 15px;
  box-shadow: 8px 8px 16px #a1cbe0, -8px -8px 16px #ffffff;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.3s ease;
}

.schedule-card:hover {
  transform: translateY(-5px);
}

.schedule-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.schedule-time {
  font-size: 1.3em;
  font-weight: bold;
  color: #0277bd;
}

.schedule-target,
.schedule-options {
  font-size: 0.9em;
  color: #555;
}

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

.btn.neumorphism.small {
  padding: 8px;
  font-size: 1.2em;
  border-radius: 8px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Tombol Edit */
.edit-btn {
  background: #cce4ff;
  color: #0277bd;
  border: none;
  border-radius: 8px;
  box-shadow: 4px 4px 8px #a1cbe0, -4px -4px 8px #ffffff;
  transition: all 0.3s ease;
}

.edit-btn:hover {
  background: #b3d4ff;
  transform: scale(1.05);
}

/* Tombol Hapus */
.delete-btn {
  background: #ffcdd2;
  color: #d32f2f;
  border: none;
  border-radius: 8px;
  box-shadow: 4px 4px 8px #a1cbe0, -4px -4px 8px #ffffff;
  transition: all 0.3s ease;
}

.delete-btn:hover {
  background: #ffb3b8;
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 600px) {
  .picker-wrapper {
    width: 70px;
    height: 100px;
  }
  .picker div {
    height: 35px;
    line-height: 35px;
  }
  .indicator {
    height: 35px;
    margin-top: -17.5px;
  }
}