html {
  font-size: 16px;
}

[x-cloak] {
  display: none !important;
}

.translate-x-full {
  --tw-translate-x: 100%;
  translate: var(--tw-translate-x) var(--tw-translate-y);
}

#budgetOptionsPanel {
  width: 100%;
  max-width: 360px;
}

.field-label {
  display: block;
  margin-bottom: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
}

.field-input {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid #cbd5e1;
  background: #fff;
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  outline: none;
}

.field-input:focus {
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgb(79 70 229 / 0.15);
}

.validation-message {
  margin-top: 0.25rem;
  display: block;
  font-size: 0.8125rem;
  color: #e11d48;
}

.admin-card {
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 10px 30px rgb(15 23 42 / 0.04);
}

.btn-primary-admin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: #F6B36B;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

.btn-primary-admin:hover {
  background: #F2A457;
  color: #fff;
}

.btn-secondary-admin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  border: 1px solid #cbd5e1;
  background: #fff;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #334155;
  text-decoration: none;
}

.btn-secondary-admin:hover {
  background: #f8fafc;
  color: #0f172a;
}

.btn-confirm-admin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.btn-confirm-admin:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgb(14 165 233 / 0.25);
}

.btn-confirm-success {
  background: #059669;
}

.btn-confirm-success:hover {
  background: #047857;
}

.btn-confirm-warning {
  background: #d97706;
}

.btn-confirm-warning:hover {
  background: #b45309;
}

.btn-confirm-danger {
  background: #dc2626;
}

.btn-confirm-danger:hover {
  background: #b91c1c;
}

/* ── FullCalendar theme integration ── */
.fc {
  font-family: inherit;
  font-size: 0.8125rem;
}

.fc .fc-toolbar-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}

.fc .fc-button {
  background: #fff;
  border: 1px solid #cbd5e1;
  color: #475569;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 0.5rem;
  text-transform: capitalize;
}

.fc .fc-button:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.fc .fc-button-active {
  background: #F6B36B;
  border-color: #F6B36B;
  color: #fff;
}

.fc .fc-button-active:hover {
  background: #F2A457;
  color: #fff;
}

.fc .fc-button:disabled {
  opacity: 0.5;
}

.fc .fc-col-header-cell-cushion {
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  padding: 0.5rem;
}

.fc .fc-daygrid-day-number {
  color: #334155;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
}

.fc .fc-day-today {
  background: #FFF4E8 !important;
}

.fc .fc-day-today .fc-daygrid-day-number {
  color: #E89535;
}

.fc .fc-event {
  border-radius: 0.375rem;
  padding: 1px 2px;
  font-size: 0.6875rem;
  line-height: 1.2;
}

.fc-event-custom {
  pointer-events: none;
}

.fc .fc-daygrid-event-harness {
  margin-top: 1px;
}

.fc .fc-list-event-title {
  color: #334155;
}

.fc .fc-list-day-cushion {
  background: #f8fafc;
  color: #475569;
  font-weight: 700;
}

.fc-theme-standard td,
.fc-theme-standard th {
  border-color: #e2e8f0;
}

.fc-theme-standard .fc-scrollgrid {
  border-color: #e2e8f0;
}

.fc .fc-timegrid-slot-label-cushion {
  color: #64748b;
  font-size: 0.6875rem;
}
