:root {
  --black: #0f0f0f;
  --white: #fafafa;
  --gray-50: #f5f5f4;
  --gray-100: #e7e5e4;
  --gray-200: #d6d3d1;
  --gray-400: #a8a29e;
  --gray-600: #57534e;
  --gray-800: #292524;

  --green: #4a7c59;
  --green-light: #e8f5ee;
  --yellow: #b45309;
  --yellow-light: #fef3c7;
  --gray-status: #78716c;
  --gray-status-light: #f5f5f4;
  --booked: #1c1917;
  --booked-light: #e7e5e4;
  --red: #b91c1c;
  --red-light: #fee2e2;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font);
  background: var(--gray-50);
  color: var(--black);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

button {
  font-family: var(--font);
  cursor: pointer;
  border: none;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  padding: 9px 18px;
  transition: opacity 0.15s, transform 0.1s;
}
button:active { transform: scale(0.98); }
button:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-primary {
  background: var(--green);
  color: var(--white);
}
.btn-primary:hover { opacity: 0.88; }

.btn-secondary {
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--gray-200);
}
.btn-secondary:hover { background: var(--gray-50); }

.btn-danger {
  background: var(--red-light);
  color: var(--red);
  border: 1px solid #fca5a5;
}
.btn-danger:hover { opacity: 0.85; }

input, select, textarea {
  font-family: var(--font);
  font-size: 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 9px 12px;
  background: var(--white);
  color: var(--black);
  width: 100%;
  transition: border-color 0.15s, box-shadow 0.15s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(74,124,89,0.12);
}

label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-600);
  margin-bottom: 5px;
}

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

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.status-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot-available { background: var(--green); }
.dot-negotiable { background: #d97706; }
.dot-pending { background: var(--gray-400); }
.dot-booked { background: var(--booked); }
.dot-unavailable { background: var(--red); }

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 20px;
}
.badge-available { background: var(--green-light); color: var(--green); }
.badge-negotiable { background: var(--yellow-light); color: var(--yellow); }
.badge-pending { background: var(--gray-status-light); color: var(--gray-status); }
.badge-booked { background: var(--booked-light); color: var(--booked); }
.badge-unavailable { background: var(--red-light); color: var(--red); }

.cal-day {
  aspect-ratio: 1;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.12s, transform 0.1s;
  position: relative;
  border: 1.5px solid transparent;
  min-height: 36px;
}
.cal-day:hover { opacity: 0.82; transform: scale(1.04); }
.cal-day.today { border-color: var(--green) !important; }
.cal-day.other-month { opacity: 0.3; pointer-events: none; }
.cal-day.available { background: var(--green-light); color: var(--green); }
.cal-day.negotiable { background: var(--yellow-light); color: var(--yellow); }
.cal-day.pending { background: var(--gray-status-light); color: var(--gray-status); }
.cal-day.booked { background: var(--booked-light); color: var(--booked); }
.cal-day.unavailable { background: var(--red-light); color: var(--red); }
.cal-day.empty { cursor: default; background: none; }
.cal-day.empty:hover { transform: none; opacity: 1; }

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--black);
  color: var(--white);
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  z-index: 9999;
  transition: transform 0.25s ease;
  pointer-events: none;
}
.toast.show { transform: translateX(-50%) translateY(0); }

@media (max-width: 640px) {
  .card { padding: 1rem; }
  .cal-day { font-size: 12px; min-height: 32px; }
}
