body {
    font-family: 'Inter', sans-serif;
    background-color: #f4f7f9; /* Light gray background */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 95%;
}

/* Header and Language Dropdown */
.header-container {
    width: 100%;
    /*max-width: 1200px;*/
    display: flex;
    justify-content: flex-end;
    margin-bottom: 2rem;
    /*padding: 0 1rem;*/
}

.language-select-container {
    position: relative;
}

.custom-dropdown {
    width: 150px;
    cursor: pointer;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.dropdown-selected {
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: left;
    font-weight: 600;
}

.dropdown-list {
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    background-color: #fff;
    border-top: none;
    border-radius: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 10;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}

.dropdown-list.open {
    max-height: 200px; /* Adjust based on content */
    border-top: 1px solid #ccc;
    border: 1px solid #ccc;
}

.dropdown-list-item {
    padding: 10px;
    display: flex;
    align-items: center;
    transition: background-color 0.2s;
}

.dropdown-list-item:hover {
    background-color: #f0f0f0;
}

.flag-icon {
    width: 20px;
    height: auto;
    margin-right: 8px;
    border: 1px solid #eee;
}

/* Auth/Logout Buttons */
.logout-button {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
}

/* START: Updated Object Links (Vertical List/Dropdown Items) */
.object-link {
    display: block; /* Make it take up the full width */
    width: 100%;
    padding: 8px 12px; /* Set padding for a clean line item look */
    border-radius: 0; /* Remove radius to look like a list */
    font-size: 14px;
    text-decoration: none;
    color: #333;
    background-color: transparent; /* No background color by default */
    border: none;
    cursor: pointer;
    transition: background-color 0.2s, font-weight 0.2s;
    /* To ensure items align cleanly in the list */
    line-height: 1.5; 
}

.object-link:hover {
    background-color: #f0f4f8; /* A light hover color for list item feel */
    color: #1e40af; /* Darker blue text on hover */
}

.object-link.active {
    background-color: #3b82f6; /* Active background color (Blue 500) */
    color: white;
    font-weight: 600;
}
/* END: Updated Object Links (Vertical List/Dropdown Items) */

/* Messages Table */
#messagesTable th {
    background-color: #f9fafb; /* bg-gray-50 */
}

.event-cell {
    /* Ensure long descriptions wrap if needed */
    white-space: normal;
}

/* Pagination */
.pagination-button {
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    color: white;
    background-color: #3b82f6;
    transition: background-color 0.2s;
}

.pagination-button:hover:not(:disabled) {
    background-color: #2563eb; /* bg-blue-600 */
}

.pagination-button.disabled,
.pagination-button:disabled {
    background-color: #93c5fd; /* bg-blue-300 */
    cursor: not-allowed;
}

/* Scroll to Top Button */
#scrollToTopBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: #3b82f6;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 4px;
    font-size: 18px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: opacity 0.3s;
}

#scrollToTopBtn:hover {
    background-color: #2563eb;
}

/* Download Button (using Tailwind's flex-items-center gap-4) */
.download-button {
    background-color: #10b981; /* bg-emerald-500 */
    color: white;
    font-weight: bold;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background-color 0.3s;
}

.download-button:hover {
    background-color: #059669; /* bg-emerald-600 */
}


.tooltip {
  position: relative;
  display: inline-block;
  cursor: pointer;
}



.tooltiptext {
  visibility: hidden; /* Hidden by default */
  background-color: black;
  color: #ffffff;
  text-align: center;
  padding: 5px;
  border-radius: 6px;
  position: absolute;
  z-index: 1; /* Ensure tooltip is displayed above content */
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}