/* ========== OPĆI STILOVI ========== */

body, #events, #eventForm {
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  color: #222;
  background-color: #fff;
}

h3 {
  color: #0047ab !important;
  font-size: 20px;
  font-weight: 600;
}

/* ========== NASLOVI ========== */

#events h3,
#eventForm #start_date-block-container h3,
#eventForm #timeline-container h3 {
  color: #0047ab;
  font-size: 18px;
  margin-bottom: 10px;
}

/* ========== TRAJANJE I OPISI ========== */

#events p.duration,
#events div.duration,
#events p.description,
#events div.description {
  font-size: 14px;
  color: #555;
  line-height: 1.4;
}

/* ========== ODABRANI TERMIN ========== */

#events .selectedEvent {
  border: 2px solid #0047ab;
  background-color: #e6f0ff;
  padding: 10px;
  border-radius: 6px;
}

/* ========== GUMBI ========== */

#events input.reserve_time_btn,
#events input.select_another_btn,
#eventForm #save_button {
  background-color: #0047ab !important;
  color: #fff !important;
  padding: 10px 20px !important;
  border: none;
  border-radius: 6px !important;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#events input.reserve_time_btn:hover,
#events input.select_another_btn:hover,
#eventForm #save_button:hover {
  background-color: #002f6c !important;
}

/* ========== KALENDAR I VREMENSKI SLOTOVI ========== */

div.ui-widget-content {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
}

div.ui-widget-header {
  background: #0047ab;
  color: white;
  font-weight: bold;
  padding: 8px;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
}

/* ========== RASPORED VREMENA (TIMELINE) ========== */

#timeline-container table.timeline {
  width: 100%;
  border-collapse: collapse;
}

.timeline td {
  padding: 8px;
  text-align: center;
  border: 1px solid #ddd;
}

.timeline td.not_worked_time {
  background-color: #f2f2f2;
  color: #aaa;
}

.timeline td.free_time {
  background-color: #d4edda;
  color: #155724;
  cursor: pointer;
}

.timeline td.free_time:hover {
  background-color: #c3e6cb;
}

.timeline td.selected_time {
  background-color: #0047ab;
  color: #fff;
}

.timeline td.reserved_time {
  background-color: #f8d7da;
  color: #721c24;
}

/* ========== LOADING ========== */

div#loading {
  background-color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  padding: 20px;
}

/* ========== FORME (LABEL I POLJA) ========== */

#start_date-block-container .zend_form dt,
#start_date-block-container .zend_form dt b,
#start_date-block-container .zend_form dd label {
  font-size: 15px;
  font-weight: 500;
  color: #333;
}

/* ========== CUSTOM CHECKBOX / RADIO STILOVI (ako koristiš) ========== */

input[type="radio"], input[type="checkbox"] {
  accent-color: #0047ab;
}
select, input[type="text"], textarea {
  padding: 8px;
  font-size: 15px;
  border-radius: 5px;
  border: 1px solid #ccc;
  width: 100%;
}

label {
  font-weight: 500;
  margin-top: 10px;
  display: block;
}
select, input[type="text"], textarea {
  padding: 8px;
  font-size: 15px;
  border-radius: 5px;
  border: 1px solid #ccc;
  width: 100%;
}

label {
  font-weight: 500;
  margin-top: 10px;
  display: block;
}
