/* Base styles */
:root {
  --color-blue-500: #3b82f6;
  --color-blue-700: #1d4ed8;
  --color-gray-50: #f9fafb;
  --color-gray-100: #f3f4f6;
  --color-gray-400: #9ca3af;
  --color-gray-500: #6b7280;
  --color-gray-700: #374151;
  --color-red-100: #fee2e2;
  --color-red-600: #dc2626;
}

/* Global styles */
body {
  background-color: var(--color-gray-100);
  padding: 1.5rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Layout */
.max-w-5xl {
  max-width: 64rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.p-2 {
  padding: 0.5rem;
}

.p-6 {
  padding: 1.5rem;
}

.pt-2 {
  padding-top: 0.5rem;
}

.pb-2 {
  padding-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mt-4 {
  margin-top: 1rem;
}

.grow {
  flex-grow: 1;
}

/* Flex and Grid */
.flex {
  display: flex;
}

.justify-between {
  justify-content: space-between;
}

.items-center {
  align-items: center;
}

.grid {
  display: grid;
}

.gap-2 {
  gap: 0.5rem;
}

/* Custom grid for calendar */
.grid-cols-custom {
  grid-template-columns: auto 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
}

/* Typography */
.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

/* Colors */
.text-blue-500 {
  color: var(--color-blue-500);
}

.text-gray-400 {
  color: var(--color-gray-400);
}

.text-gray-500 {
  color: var(--color-gray-500);
}

.text-gray-600 {
  color: #4b5563;
}

.text-gray-700 {
  color: var(--color-gray-700);
}

.text-red-600 {
  color: var(--color-red-600);
}

.bg-white {
  background-color: white;
}

.bg-gray-50 {
  background-color: var(--color-gray-50);
}

.bg-gray-100 {
  background-color: var(--color-gray-100);
}

.bg-red-100 {
  background-color: var(--color-red-100);
}

/* Borders */
.border {
  border-width: 1px;
  border-style: solid;
  border-color: #e5e7eb;
}

.border-b {
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: #e5e7eb;
}

.border-2 {
  border-width: 2px;
}

.border-blue-500 {
  border-color: var(--color-blue-500);
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-2xl {
  border-radius: 1rem;
}

/* Effects */
.shadow-xl {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Button styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background-color: white;
  border: 1px solid var(--color-gray-100);
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  font-size: 1.25rem;
  color: var(--color-gray-500);
}

.btn:hover {
  background-color: var(--color-blue-500);
  color: white;
  box-shadow: 0 4px 6px rgba(59, 130, 246, 0.25);
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
}

/* Hover effects */
.hover\:text-blue-700:hover {
  color: var(--color-blue-700);
}

/* Calendar specific */
.h-24 {
  height: 6rem;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.top-1 {
  top: 0.25rem;
}

.right-1 {
  right: 0.25rem;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.overflow-hidden {
  overflow: hidden;
}
