/* ---------- พื้นหลังและคอนเทนเนอร์ ---------- */
body {
  background: linear-gradient(180deg, #b1d6f1d3 0%, #cbe1f5 100%);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.container {
  max-width: 900px;
  background: linear-gradient(180deg, #4bb4faf6 0%, #b0dafc 100%);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* ---------- หัวเรื่อง ---------- */
h2 {
  font-weight: 700;
  color: #1a73e8;
  margin-bottom: 30px;
  letter-spacing: 0.5px;
}

/* ---------- Label ---------- */
label.form-label {
  font-weight: 500;
  color: #333;
}

/* ---------- Input ---------- */
input.form-control,
select.form-control {
  border-radius: 8px;
  border: 1px solid #ced4da;
  padding: 5px 6px;
  transition: all 0.3s ease;
}

input.form-control:focus,
select.form-control:focus {
  border-color: #1a73e8;
  box-shadow: 0 0 5px rgba(26, 115, 232, 0.3);
  outline: none;
}

/* ---------- ปุ่ม Submit ---------- */
button.btn-primary {
  background: linear-gradient(90deg, #1a73e8, #4285f4);
  border: none;
  border-radius: 8px;
  padding: 10px 25px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
}

button.btn-primary:hover {
  background: linear-gradient(90deg, #4285f4, #1a73e8);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(26, 115, 232, 0.3);
}

/* ---------- ข้อความแจ้งสถานะ ---------- */
#msg {
  font-weight: 500;
  font-size: 15px;
}

/* ---------- สำหรับแถวและระยะห่าง ---------- */
.row.g-3 {
  margin-top: 10px;
}

.row.g-3 .col-md-4 {
  margin-bottom: 15px;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .container {
    padding: 20px;
  }
}
/* ---------- ช่องวันที่ ---------- */
input.locked-date {
  pointer-events: none;
  background-color: #f8f9fa;
  color: #555;
}
