.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;

    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1;
}



/* .hero-parallax {
    background-image: url("../images/hero-background.jpg");
    background-attachment: fixed;
    background-size: 100% auto;
    background-position: center -100px;
    background-repeat: no-repeat;
} */

.hero-parallax {
    /* background-image: url("../images/hero-background.jpg"); */
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-position 0.3s ease;
    will-change: background-position;
}


.scroll-padding {
    scroll-padding-top: 64px;
    /* Adjust to the height of your sticky header */
}

/* Table stripes */
.evenColor {
    background-color: #f2f2f2;
}

.oddColor {
    background-color: #ffffff;
}

/* Used for the assets description div when greater than 50 chars */
.hiddenDescription {
    display: none;
}

.absoluteDescription {
    position: absolute;
    z-index: 10;
}

.showAssetDetails {
    display: inline-block;
    width: 130px;
    font-weight: bold;
}

/* used for tooltips */
.tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.tooltip .tooltip-text {
    visibility: hidden;
    width: max-content;
    max-width: 200px;
    text-wrap: wrap;
    background-color: rgba(19, 26, 39, 0.9); /* slate-800 with opacity */
    color: #f1f5f9; /* slate-100 text */
    text-align: center;
    border-radius: 0.5rem;
    padding: 0.5rem;
    position: absolute;
    z-index: 50;
    bottom: 125%; /* Position above */
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.75rem; /* text-xs */
    pointer-events: none;

    /* Default pos is top */
    bottom: 125%;
    top: auto;
    z-index: 50;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
    z-index: 9999 !important;
}

/* Override: Tooltip appears below */
.tooltip-bottom .tooltip-text {
    top: 125%;
    bottom: auto;
  }

/* (Optional) Other directions */
.tooltip-left .tooltip-text {
    top: 50%;
    left: auto;
    right: 125%;
    transform: translateY(-50%);
  }
  
  .tooltip-right .tooltip-text {
    top: 50%;
    left: 125%;
    transform: translateY(-50%);
  }

.input-error {
    border-width: 2px !important;
    border-color: #ef4444 !important; /* Tailwind red-500 */
    background-color: #fee2e2 !important; /* Tailwind red-100 */
}
