body {
    font-family: 'Inter', sans-serif;
}
@font-face {
    font-family: 'Inter';
    src: url('font_inter/Inter-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    
}
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}
.calendar-day-header {
    background-color: #e2e8f0; /* gray-200 */
    font-weight: 600;
    text-align: center;
    padding: 8px;
    border-radius: 4px;
}
.calendar-day-cell {
    min-height: 100px;
    background-color: #f7fafc; /* gray-50 */
    border: 1px solid #e2e8f0; /* gray-200 */
    border-radius: 8px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 0.875rem; /* text-sm */
    position: relative;
}
.calendar-day-cell.current-day {
    border-color: #3B82F6; /* blue-500 */
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3); /* blue-500 with opacity */
    background-color: #EBF8FF; /* blue-50 */
}
.calendar-day-cell.has-assignments {
    background-color: #dbeafe; /* blue-100 */
}
.day-number {
    font-weight: bold;
    font-size: 1.25rem; /* text-xl */
    color: #2d3748; /* gray-800 */
    margin-bottom: 4px;
}
.assignment-entry {
    font-size: 0.75rem; /* text-xs */
    line-height: 1.2;
    color: #4a5568; /* gray-700 */
}
.assignment-entry strong {
    color: #2b6cb0; /* blue-700 */
}
.crud-form-container {
    border: 1px solid #cbd5e0; /* gray-300 */
    padding: 24px;
    border-radius: 12px;
    background-color: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
/* Style for buttons within search results */
.search-result-btn {
    padding: 4px 8px;
    font-size: 0.75rem;
    border-radius: 0.375rem;
    margin: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.15s ease-in-out;
}
.search-result-btn.edit {
    background-color: #4CAF50; /* Green */
    color: white;
}
.search-result-btn.edit:hover {
    background-color: #45a049;
}
.search-result-btn.delete {
    background-color: #F44336; /* Red */
    color: white;
}
.search-result-btn.delete:hover {
    background-color: #da190b;
}

/* Print-specific styles */
@media print {
    body {
        background-color: #fff !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    /* Hide elements not needed for printing */
    .no-print {
        display: none !important;
    }
    /* Ensure calendar grid prints correctly */
    .calendar-grid {
        page-break-inside: avoid; /* Prevent breaking inside the grid */
        width: 100%;
        display: grid; /* Re-apply grid for print */
        grid-template-columns: repeat(7, 1fr);
        gap: 2px; /* Smaller gap for print */
    }
    .calendar-day-cell {
        min-height: 80px; /* Adjust height for print */
        border: 1px solid #ccc; /* Lighter border for print */
        border-radius: 0; /* No rounded corners for print */
        padding: 4px; /* Less padding for print */
        font-size: 0.7rem; /* Smaller font for print */
    }
    .day-number {
        font-size: 1rem; /* Adjust day number size */
    }
    .assignment-entry {
        font-size: 0.65rem; /* Adjust assignment entry size */
    }
    h1, h2 {
        text-align: center;
        color: #000;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    /* Ensure the main content area expands to full width for printing */
    .max-w-4xl {
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 !important;
        box-shadow: none !important;
    }
    .rounded-xl {
        border-radius: 0 !important;
    }
    .p-8 {
        padding: 10px !important;
    }
}
