body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}

/* Main container to take remaining space */
.main-container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Content area should grow to fill available space */
main {
    flex: 1;
}

/* Footer styling - will stick to bottom */
footer {
    margin-top: auto;
}

.navbar-nav .nav-link {
    margin-right: 15px;
}

.navbar-nav .navbar-text {
    margin-right: 20px;
}

.form-check-label {
    margin-left: 5px;
}


 /* Custom styles */
.navbar-brand img {
    margin-right: 10px; /* Adjust the margin as needed */
    filter: brightness(120%); /* Adjust the brightness for lighter blue */
}
.logout-icon {
    cursor: pointer;
}
.navbar-brand, .logout-icon {
    display: flex;
    align-items: center;
}
.navbar-brand img {
    margin-right: 20px; /* Increase margin for spacing */
}
.header {
    background-color: #e7f1ff; /* Light blue background */
}
.footer {
    background-color: #e7f1ff; /* Light blue background */
}

.bold-centered-red {
  font-size: 1.5rem;
  font-weight: bold;
  text-align: left;
  color: #00346a;
  margin-top: 20px;
  margin-bottom: 20px;
}

.text-color-blue {
    color: #00346a;
}

/* Menu styling to match Solidaritatea color */
.navbar-nav .nav-link,
.navbar-nav .nav-link i,
.dropdown-menu .dropdown-item,
.dropdown-menu .dropdown-item i {
    color: #00346a !important;
}

.navbar-nav .nav-link:hover,
.dropdown-menu .dropdown-item:hover {
    color: #00346a !important;
    background-color: rgba(0, 52, 106, 0.1) !important;
}

/* Ensure dropdown toggle arrows are also dark blue */
.navbar-nav .dropdown-toggle::after {
    border-top-color: #00346a !important;
}

/* Footer text styling to match Solidaritatea color */
footer p {
    color: #00346a !important;
}

/* Logout icon styling to match Solidaritatea color */
.logout-icon svg {
    color: #00346a !important;
    fill: #00346a !important;
}

.logout-icon:hover svg {
    color: #00346a !important;
    fill: #00346a !important;
    opacity: 0.8;
}

/* Center navigation menu items vertically */
.navbar-nav {
    align-items: center;
}

.navbar-nav .nav-item {
    display: flex;
    align-items: center;
}

.navbar-nav .nav-link {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0.5rem 1rem;
}

/* Ensure dropdown menus are also properly aligned */
.navbar-nav .dropdown-menu {
    margin-top: 0;
}

/* Table Styling */
.table-container {
    width: 100%; /* Make the container take up the full width */
    overflow-x: auto; /* Enable horizontal scrolling when content overflows */
    -webkit-overflow-scrolling: touch; /* Enable smooth scrolling for mobile devices */
}

table {
    width: 100%; /* Table will take up the full width of its container */
    table-layout: auto; /* Adjust column width automatically based on content */
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
     white-space: nowrap;
}

table th, table td {
    padding: 12px 15px;
    text-align: left;
    border: 1px solid #ddd;
    white-space: nowrap;
}

.fixed-width-150 {
    width: 150px;
    text-align: left;
}

table th {
    background-color: #00346a; /* Updated to match rgb(0, 52, 106) */
    font-weight: bold;
    color: white; /* White text */
}

table tr:nth-child(even) {
    background-color: #f9f9f9;
}

table tr:hover {
    background-color: #f1f1f1;
}

table td a {
    color: #00346a;
    text-decoration: none;
}

table td a:hover {
    text-decoration: underline;
}

/* Column Specific Widths */
table th:nth-child(1), table td:nth-child(1) {
    width: 5%; /* For ID */
}

table th:nth-child(2), table td:nth-child(2) {
    width: 8%; /* For Is Active */
}

table th:nth-child(3), table td:nth-child(3) {
    width: 8%; /* For Is Public */
}

table th:nth-child(4), table td:nth-child(4) {
    width: 15%; /* For Event Name */
}

table th:nth-child(5), table td:nth-child(5) {
    width: 10%; /* For Location */
}

table th:nth-child(6), table td:nth-child(6) {
    width: 15%; /* For Description */
}

table th:nth-child(7), table td:nth-child(7) {
    width: 10%; /* For Event Date */


.picture-preview {
    width: 200px;
    height: 200px;
    border: 1px solid #ccc; /* Optional: adds a border around the preview */
    overflow: hidden; /* Ensures content does not spill outside the div */
    display: flex; /* Centres the content */
    align-items: center; /* Vertically centres the content */
    justify-content: center; /* Horizontally centres the content */
    background-color: #f9f9f9; /* Optional: light background for empty states */
    border-radius: 5px; /* Optional: rounded corners */
}

.picture-preview img {
    max-width: 100%; /* Scale image width to fit */
    max-height: 100%; /* Scale image height to fit */
    object-fit: cover; /* Ensures image fills the container while maintaining its aspect ratio */
}

.picture-preview .no-picture {
    font-size: 14px;
    color: #999;
    text-align: center;
}

.custom-file-upload {
    position: relative;
    display: inline-block;
}

.custom-upload-btn {
    background-color: #f0f0f0;
    color: #333;
    font-size: 20px; /* Display ellipsis with larger font */
    border: 1px solid #ccc;
    padding: 10px 15px;
    cursor: pointer;
    display: inline-block;
    border-radius: 5px;
}

.file-input {
    display: none; /* Hide default file input */
}

.file-name {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    color: #333;
}

.custom-swal-toast {
    max-width: 500px; /* Adjust to desired width */
    width: 500px; /* Ensure the toast has a consistent width */
}