@tailwind base;
@tailwind components;
@tailwind utilities;

.custom-button:hover {
  background-color: #f9f7f1 !important; /* Custom hover color */
  color: #1e2d29 !important;
}
.custom-button {
  color: #f9f7f1 !important; /* Custom button color */
}

.custom-color {
  color: #f9f7f1 !important; /* Custom text color */
}

.footer-bg {
  background-color: #f9f7f1 !important;
  /* Custom footer background color */
}

.background-container {
  position: relative;
}

.background-image {
  background-size: cover;
  background-position: center;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.6; /* Adjust the opacity level */
  z-index: -1;
}

.foo {
  background-color: red;
}

.main-content {
  display: flex;
  flex-direction: column;
  min-height: 0; /* Ensure it can shrink as needed in flex container */
  flex: 1; /* Take up remaining space */
}
.content-wrapper {
  flex: 1; /* Push footer to the bottom */
  overflow-y: auto; /* Scrollable content */
}
.footer {
  text-align: center;
  padding: 1rem;
  background-color: #f3f4f6; /* Light grey background */
  color: #4b5563; /* Dark grey text */
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  bottom: 100%; /* Align the bottom of the menu with the top of the button */
  left: 0;
  width: 100%;
  background-color: #1f2937; /* Match the sidebar color */
  border-radius: 0.25rem;
  box-shadow: 0 -4px 6px rgba(0,0,0,0.1); /* Subtle shadow above the dropdown */
  z-index: 10;
}

.dropdown-menu.hidden {
  display: none;
}

.active-link {
  background-color: #2d3748; /* A darker shade of gray than bg-gray-700 */
  color: #ffffff; /* White text */
}

.pagy-nav .active {
  text-decoration: underline;
}
.custom-button:hover {
    background-color: #f9f7f1 !important; /* Custom hover color */
    color: #1e2d29 !important;
  }
  .custom-button {
    color: #f9f7f1 !important; /* Custom button color */
  }

  .custom-color {
    color: #f9f7f1 !important; /* Custom text color */
  }

  .footer-bg {
    background-color: #f9f7f1 !important;
    /* Custom footer background color */
  }

  .background-container {
    position: relative;
  }

  .background-image {
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.6; /* Adjust the opacity level */
    z-index: -1;
  }
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

 .ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;     /* make sure it’s a block container */
  width: 100%;        /* fill its parent cell */
}
