body {
    font-family: 'Inter', sans-serif;
    background-color: #f3f4f6; /* Light gray background */
}
.sidebar {
    transition: transform 0.3s ease-in-out;
}
.sidebar-closed {
    transform: translateX(-100%);
}
.content {
    transition: margin-left 0.3s ease-in-out;
}
.modal {
    display: none; /* Hidden by default */
}
.modal-open {
    display: flex;
}
.table-responsive {
    overflow-x: auto;
}
/* Custom scrollbar for webkit browsers */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #555;
}
/* Toast notification styling */
.toast {
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 16px;
    position: fixed;
    z-index: 100;
    left: 50%;
    bottom: 30px;
    font-size: 17px;
    opacity: 0;
    transition: opacity 0.3s, bottom 0.3s, visibility 0.3s;
}
.toast.show {
    visibility: visible;
    opacity: 1;
    bottom: 50px;
}
.toast.success { background-color: #4CAF50; }
.toast.error { background-color: #f44336; }
.toast.warning { background-color: #ff9800; }

/* Gemini Modal Styling */
#geminiResponseModalContent {
    max-height: 70vh; /* Max height for the content area */
    overflow-y: auto; /* Allow scrolling for long responses */
}
.loader {
    border: 4px solid #f3f3f3; /* Light grey */
    border-top: 4px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* Alert styling */
.alert-warning {
    background-color: #fffbeb; 
    border-color: #fde68a; 
    color: #92400e; 
}
 .alert-danger { /* For potentially more critical alerts in the future */
    background-color: #fef2f2; 
    border-color: #fecaca; 
    color: #b91c1c; 
}

/* Tailwind Prose styles for AI content if not using the plugin directly */
.prose strong { font-weight: 600; }
.prose em { font-style: italic; }
.prose ul { list-style-type: disc; margin-left: 1.5rem; margin-top: 0.5rem; margin-bottom: 0.5rem; }
.prose li { margin-bottom: 0.25rem; }
.prose p { margin-bottom: 1rem; }
.prose p:last-child { margin-bottom: 0; }