/* Custom styles for the table tennis reservation app */
/* Modern "Elevated Card" Design System */

/* ========================================
   CSS VARIABLES - Design Tokens
   ======================================== */
:root {
  /* Background colors */
  --bg: #f8fafc;
  --card: #ffffff;

  /* Text colors */
  --text: #1f2937;
  --muted: #6b7280;
  --text-light: #9ca3af;

  /* Accent colors - keeping app's identity */
  --accent-green: #22c55e;
  --accent-green-light: #86efac;
  --accent-red: #f87171;
  --accent-red-dark: #ef4444;
  --accent-blue: #3b82f6;
  --accent-blue-light: #60a5fa;

  /* Borders */
  --border: #e2e8f0;
  --border-hover: #d1d5db;

  /* Shadows - removed for clean design */
}

/* ========================================
   BASE STYLES
   ======================================== */
html,
body,
* {
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Ubuntu,
    Cantarell,
    "Noto Sans",
    Helvetica,
    Arial,
    "Apple Color Emoji",
    "Segoe UI Emoji";
}

html,
body {
  background: var(--bg);
  color: var(--text);
}

/* Ensure inputs and buttons inherit font */
input,
button,
select,
textarea {
  font-family: inherit;
}

/* ========================================
   MAIN CARD CONTAINER
   ======================================== */
.main-card {
  background: var(--card);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 20px;
  position: relative;
}

.main-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(
    90deg,
    var(--accent-blue),
    var(--accent-blue-light)
  );
}

/* ========================================
   TABLE CONTAINER - Modern Inner Block
   ======================================== */
.table-container {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  transition: all 0.25s ease;
}

.table-container:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

/* Smooth transitions for interactive elements */
button,
.cursor-pointer {
  transition: all 0.15s ease-in-out;
}

/* Custom scrollbar for better UX */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* Custom scrollbar for dark themed elements (tennis matcher) */
.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: #f3f4f6; /* gray-100 */
  border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #d1d5db; /* gray-300 */
  border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #9ca3af; /* gray-400 */
}

/* ========================================
   NOTIFICATION BLOCK - Alternative Design
   ======================================== */
.notification-block-alt {
  position: relative;
  transition: all 0.3s ease;
}

.notification-block-alt:hover {
  transform: translateY(-2px);
  border-color: #f59e0b;
}

.notification-block-alt::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    to right,
    #fbbf24,
    #f59e0b,
    #f97316,
    #f59e0b,
    #fbbf24
  );
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Ensure proper focus states for accessibility */
button:focus,
input:focus,
select:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

/* Signup modules: remove default disclosure triangle so the chevron aligns */
details.signup-details > summary::-webkit-details-marker {
  display: none;
}

details.signup-details > summary::marker {
  content: "";
}

/* Consistent input hover effects matching button colors */
input[type="text"]:hover,
select:hover {
  border-color: #2563eb; /* blue-600 */
  transition: border-color 0.15s ease-in-out;
}

input[type="text"]:focus,
select:focus {
  border-color: #2563eb; /* blue-600 */
}

/* Loading animation */
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Loading ping pong emoji - themed rotating icon */
.loading-pingpong {
  display: inline-block;
  font-size: 24px;
  margin: 0 auto;
  animation: spin 1.5s ease-in-out infinite;
}

#loading {
  animation: pulse 1.5s ease-in-out infinite;
}

/* Enhanced popup animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.animate-pulse-once {
  animation: pulse 0.3s ease-out;
}

/* ========================================
   RESERVATION POPUP - Modern Design
   ======================================== */
.reservation-popup-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 50;
  animation: fadeIn 0.2s ease-out;
  padding: 16px;
}

.reservation-popup-card {
  background: var(--card);
  border-radius: 20px;
  max-width: 340px;
  width: 100%;
  overflow: hidden;
  animation: popupSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes popupSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.reservation-popup-header {
  padding: 28px 24px 20px;
  text-align: center;
}

.reservation-popup-header-success {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border-bottom: 1px solid #a7f3d0;
}

.reservation-popup-header-error {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border-bottom: 1px solid #fecaca;
}

.reservation-popup-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  border-radius: 50%;
  margin-bottom: 16px;
  animation: popupIconBounce 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

.reservation-popup-icon-error {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

@keyframes popupIconBounce {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

.reservation-popup-check {
  width: 28px;
  height: 28px;
  color: white;
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  animation: checkDraw 0.4s ease-out 0.4s forwards;
}

@keyframes checkDraw {
  to {
    stroke-dashoffset: 0;
  }
}

.reservation-popup-icon-error svg {
  width: 24px;
  height: 24px;
  color: white;
}

.reservation-popup-title {
  font-size: 20px;
  font-weight: 700;
  color: #166534;
  margin: 0;
  letter-spacing: -0.3px;
}

.reservation-popup-title-error {
  color: #b91c1c;
}

.reservation-popup-subtitle {
  font-size: 14px;
  color: #4ade80;
  margin: 4px 0 0;
  font-weight: 500;
}

.reservation-popup-details {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.reservation-popup-detail-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  color: #475569;
}

.reservation-popup-detail-item svg {
  color: #94a3b8;
  flex-shrink: 0;
}

.reservation-popup-detail-main {
  padding: 12px 16px;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  gap: 8px;
}

.reservation-popup-detail-main .reservation-popup-detail-icon {
  font-size: 24px;
}

.reservation-popup-detail-main .reservation-popup-detail-text {
  font-size: 18px;
  font-weight: 700;
  color: #1e40af;
}

.reservation-popup-detail-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
  margin: 4px 0;
}

.reservation-popup-duration {
  padding: 2px 8px;
  background: #f1f5f9;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}

.reservation-popup-footer {
  padding: 0 24px 24px;
}

.reservation-popup-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  color: white;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.reservation-popup-btn-success {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.reservation-popup-btn-success:hover {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  transform: translateY(-1px);
}

.reservation-popup-btn-error {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.reservation-popup-btn-error:hover {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  transform: translateY(-1px);
}

.reservation-popup-btn:active {
  transform: translateY(0);
}

/* Legacy popup styles (kept for compatibility) */
.popup-overlay {
  backdrop-filter: blur(2px);
  animation: fadeIn 0.2s ease-out;
}

.popup-content {
  animation: slideInUp 0.3s ease-out;
  transform-origin: center;
}

/* Smooth scale transitions */
.transform {
  transition: transform 0.2s ease-out;
}

/* Enhanced shadow for popups - removed for clean design */

/* Success popup specific styles */
.success-detail-box {
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
  border: 1px solid #a7f3d0;
}

.success-icon {
  /* drop-shadow removed for clean design */
}

/* Button hover effects matching the design */
.btn-success:hover {
  background-color: #16a34a;
  transform: translateY(-1px);
}

.btn-error:hover {
  background-color: #dc2626;
  transform: translateY(-1px);
}

/* Close button styles */
.close-btn {
  transition: all 0.15s ease-in-out;
}

.close-btn:hover {
  transform: scale(1.1);
  color: #374151;
}

/* Responsive popup adjustments */
@media (max-width: 640px) {
  .popup-content {
    margin: 1rem;
    max-width: calc(100vw - 2rem);
  }
} /* Accessibility: Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  details.signup-details:not([open]) {
    animation: none !important;
    /* Provide a static subtle glow instead */
    box-shadow:
      0 0 20px rgba(34, 197, 94, 0.2),
      0 0 40px rgba(34, 197, 94, 0.1);
  }

  details.signup-details:not([open]).bg-blue-50 {
    box-shadow:
      0 0 20px rgba(59, 130, 246, 0.2),
      0 0 40px rgba(59, 130, 246, 0.1);
  }

  details.signup-details:not([open]).bg-orange-50 {
    box-shadow:
      0 0 20px rgba(249, 115, 22, 0.2),
      0 0 40px rgba(249, 115, 22, 0.1);
  }

  details.signup-details:not([open]).bg-purple-50 {
    box-shadow:
      0 0 20px rgba(168, 85, 247, 0.2),
      0 0 40px rgba(168, 85, 247, 0.1);
  }
}
/* ========================================
   MODERN DATE NAVIGATION BAR
   ======================================== */
.date-nav-bar {
  background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.date-nav-bar:hover {
  /* hover effect without shadow */
}

.date-nav-btn {
  background: transparent;
  border: none;
  border-radius: 8px;
  padding: 5px 7px;
  transition: all 0.2s ease;
}

.date-nav-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

/* ========================================
   CALENDAR PICKER - Elevated Style
   ======================================== */
.calendar-block {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.calendar-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--accent-blue),
    var(--accent-blue-light)
  );
}

.calendar-day {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
}

.calendar-day:hover:not(.calendar-day-disabled) {
  background: #dbeafe;
  transform: scale(1.1);
}

.calendar-day-today {
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
  color: white;
  font-weight: 700;
}

.calendar-day-selected {
  background: linear-gradient(135deg, #22c55e, #4ade80);
  color: white;
  font-weight: 700;
}

.calendar-day-disabled {
  color: #d1d5db;
  cursor: not-allowed;
}

/* ========================================
   TIME SLOTS - Green/Red Availability
   ======================================== */
.time-slot {
  border-radius: 8px;
  padding: 4px 6px;
  font-weight: 500;
  font-size: 10px;
  text-align: center;
  transition: all 0.2s ease;
}

.time-slot-available {
  background: #bbf7d0;
  color: #14532d;
  border: 1px solid #86efac;
  font-weight: 600;
}

.time-slot-available:hover {
  transform: scale(1.08);
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
  color: white;
  border-color: #22c55e;
}

.time-slot-reserved {
  background: linear-gradient(135deg, #fca5a5 0%, #f87171 100%);
  color: white;
  border: 1px solid #ef4444;
}

.time-slot-readonly {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
  opacity: 0.8;
}

/* ========================================
   INFO NOTICE - Modern Alert Style
   ======================================== */
.info-notice {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: none;
  border-left: 4px solid #f59e0b;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.info-notice:hover {
  /* hover without shadow */
}

.info-notice[open] {
  /* open state without shadow */
}

/* ========================================
   LOGO SECTION
   ======================================== */
.logo-img {
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05);
}

/* ========================================
   TERMS SECTION - Modern Footer Style
   ======================================== */
.terms-section {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.terms-section:hover {
  border-color: var(--border-hover);
}

.terms-section[open] {
  /* open state without shadow */
}

/* ========================================
   LOADING STATE - Modern Style
   ======================================== */
.loading-container {
  background: var(--card);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
}

.loading-container .loading-pingpong {
  font-size: 32px;
}

/* ========================================
   ADMIN BUTTON - Pill Style
   ======================================== */
.admin-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: linear-gradient(135deg, #ca8a04 0%, #eab308 100%);
  color: white;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  transition: all 0.2s ease;
}

.admin-btn:hover {
  transform: translateY(-2px);
}

/* ========================================
   TABLE HEADER
   ======================================== */
.table-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f1f5f9;
}

.table-header h3 {
  font-weight: 700;
  font-size: 16px;
  color: #1e293b;
  letter-spacing: -0.3px;
}

.table-header-icon {
  font-size: 20px;
  line-height: 1;
}

/* ========================================
   RESERVATION FORM - Modal Design
   ======================================== */
.reservation-form-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 50;
  animation: fadeIn 0.2s ease-out;
  padding: 16px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.reservation-form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  max-width: 440px;
  width: 100%;
  animation: formModalSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: calc(100vh - 32px);
  display: flex;
  flex-direction: column;
}

@keyframes formModalSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.reservation-form-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 100%);
  border-bottom: 1px solid #dbeafe;
}

.reservation-form-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reservation-form-icon {
  font-size: 28px;
  line-height: 1;
}

.reservation-form-title h2 {
  font-weight: 700;
  font-size: 18px;
  color: #1e40af;
  letter-spacing: -0.3px;
  margin: 0;
  line-height: 1.2;
}

.reservation-form-time {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  background: #3b82f6;
  color: white;
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  letter-spacing: 0.3px;
}

.reservation-form-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: #64748b;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.reservation-form-close:hover {
  background: #e2e8f0;
  color: #1e293b;
  transform: scale(1.05);
}

.reservation-form-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}

.reservation-input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.reservation-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  letter-spacing: -0.1px;
}

.reservation-label svg {
  color: #64748b;
}

.reservation-input,
.reservation-select {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  color: var(--text);
  background: #f8fafc;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  transition: all 0.2s ease;
}

.reservation-input::placeholder {
  color: #94a3b8;
}

.reservation-input:hover,
.reservation-select:hover {
  border-color: #93c5fd;
  background: #fff;
}

.reservation-input:focus,
.reservation-select:focus {
  outline: none;
  border-color: #3b82f6;
  background: #fff;
}

.reservation-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

/* ========================================
   SEGMENTED CONTROL - Duration Selector
   ======================================== */
.duration-segmented-control {
  display: flex;
  gap: 6px;
  padding: 4px;
  background: #f1f5f9;
  border-radius: 10px;
  border: 1.5px solid #e2e8f0;
}

.duration-segment {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 8px 6px;
  background: transparent;
  border: 1.5px solid transparent;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.duration-segment:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.duration-segment.active {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  border-color: #2563eb;
}

.duration-segment.active:hover {
  transform: translateY(-1px);
}

.duration-label {
  font-size: 14px;
  font-weight: 700;
  color: #334155;
  transition: color 0.2s ease;
}

.duration-segment.active .duration-label {
  color: #ffffff;
}

.duration-time {
  font-size: 11px;
  font-weight: 500;
  color: #64748b;
  transition: color 0.2s ease;
}

.duration-segment.active .duration-time {
  color: rgba(255, 255, 255, 0.9);
}

/* Responsive adjustments for segmented control */
@media (max-width: 640px) {
  .duration-segmented-control {
    gap: 5px;
    padding: 4px;
  }

  .duration-segment {
    padding: 7px 5px;
  }

  .duration-label {
    font-size: 12px;
  }

  .duration-time {
    font-size: 10px;
  }
}

.reservation-error {
  font-size: 13px;
  color: #dc2626;
  padding: 8px 12px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  margin-top: 4px;
}

.reservation-confirm-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 4px;
}

.reservation-confirm-btn:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  transform: translateY(-1px);
}

.reservation-confirm-btn:active {
  transform: translateY(0);
}

/* Responsive adjustments for reservation form modal */
@media (max-width: 640px) {
  .reservation-form-overlay {
    padding: 12px;
    align-items: flex-start;
    padding-top: 20px;
  }

  .reservation-form-card {
    max-width: 100%;
    border-radius: 12px;
    max-height: calc(100vh - 40px);
  }

  .reservation-form-header {
    padding: 14px 16px;
    flex-shrink: 0;
  }

  .reservation-form-body {
    padding: 16px;
    overflow-y: auto;
  }
}

/* ========================================
   STATUS MESSAGES
   ======================================== */
.status-message {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
}

.status-message-info {
  background: #dbeafe;
  color: #1d4ed8;
  border: 1px solid #93c5fd;
}

.status-message-warning {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fcd34d;
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
   ======================================== */
@media (max-width: 640px) {
  .main-card {
    border-radius: 0;
    margin: 0;
  }

  .main-card::before {
    display: none;
  }

  .table-container {
    border-radius: 12px;
    padding: 12px;
  }

  .date-nav-bar {
    border-radius: 12px;
  }

  .calendar-block {
    border-radius: 16px;
  }
}
