:root {
  --itx-red: #e10600;
  --itx-black: #000000;
  --itx-white: #ffffff;
  --itx-green: #28a745;
}

body {
background-color: var(--itx-white);
color: var(--itx-black);
font-family: 'Segoe UI', sans-serif;
}

.navbar {
background-color: var(--itx-white);
border-bottom: 2px solid var(--itx-red);
}

.navbar-brand img {
height: 40px;
}

.card {
background-color: #ffffff;
border: 1px solid #ddd;
border-radius: 16px;
box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.card-header {
background-color: transparent;
border-bottom: 1px solid #eee;
color: var(--itx-red);
font-weight: 600;
}

.btn-itx {
background-color: var(--itx-red);
color: var(--itx-white);
border-radius: 30px;
padding: 10px 24px;
border: none;
}

.btn-itx:hover {
background-color: #b80500;
}

.slot {
    border: 1px solid var(--itx-red);
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 10px;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease; /* smooth hover/selection */
}

.slot:hover {
    background-color: var(--itx-red);
    color: var(--itx-white);
    transform: scale(1.05); /* slight grow on hover */
}

.slot.selected {
    background-color: var(--itx-red);
    color: var(--itx-white);
    border: 2px solid #b80500; /* slightly darker border */
    font-weight: 600;
    transform: scale(1.05); /* subtle grow on selection */
    box-shadow: 0 4px 12px rgba(225, 6, 0, 0.3); /* soft glow */
}

.slot.booked {
    background-color: #f1f1f1;
    border-color: #ccc;
    cursor: not-allowed;
    color: #999;
    text-decoration: line-through; /* optional, shows booked clearly */
}

.form-control {
border-radius: 12px;
}

.form-control.is-invalid , .slot.is-invalid {
    border: 2px solid var(--itx-red);
}

.error-msg {
    font-size: 0.85rem;
    margin-top: 4px;
}
.itx-toast {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#itx-toast.show {
  opacity: 1;
  pointer-events: auto;
}

.itx-toast-box {
  min-width: 280px;
  max-width: 360px;
  padding: 14px 18px;
  border-radius: 12px;
  color: var(--itx-white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  animation: slideIn 0.35s ease;
}

.itx-toast-box.success {
  background: var(--itx-green);
}

.itx-toast-box.error {
  background: var(--itx-red);
}

#itx-toast-close {
  background: transparent;
  border: none;
  color: var(--itx-white);
  font-size: 20px;
  cursor: pointer;
}

@keyframes slideIn {
  from {
    transform: translateX(120%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.page-title {
  animation: fadeIn 1s ease-out forwards;
}

.welcome-note {
  animation: fadeIn 1.5s ease-out forwards;
  animation-delay: 0.5s; /* staggered delay */
}
@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}

.page-title {
  animation: zoomIn 1s ease-out forwards;
}

.welcome-note {
  animation: zoomIn 1.2s ease-out forwards;
  animation-delay: 0.3s; /* slight stagger after title */
}