/*
 * 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.
 *
 *= require_tree .
 *= require_self
 */
/* Font family is now managed by Tailwind/DaisyUI */
#color-table tr:nth-child(odd) {
  background: #efefef;
}
#color-table tr:nth-child(even) {
  background: #fafafa;
}

.section {
  display: block;
}
.section-closed {
  display: block;
  margin-left: 20px;
  width: 20px;
  opacity: 0.4;
}
.section-open {
  display: none;
  margin-left: 20px;
  width: 20px;
  opacity: 0.8;
}
.active .section-closed {
  display: none;
}
.active .section-open {
  display: block;
}

.card .my-5 label.form-label {
  display: block;
}

#search-results a {
  color: blue;
  text-decoration: underline;
}

table.transfers tr td {
  padding-left: 0.25em 0.5em;
}
.tag { 
  display: inline-block;
  margin-right: 12px;
  border-radius: 5px;
  padding: 0.5em 0.5em;
  font-size: 10px;
  margin-bottom: 2px;
}

.synced:before {
  content: "✅";
  border-radius: 100%;
  margin-right: 8px;
} 

/* Fallback for line-clamp if not provided by Tailwind */
.line-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Modal backdrop darkening for better contrast */
.modal-backdrop {
  background-color: rgba(0, 0, 0, 0.6) !important;
}

/* Ensure modal box stands out against the darkened background */
.modal .modal-box {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4) !important;
}