.dropdown-content {
    display: none;
    /* Hide by default */
    position: absolute;
    width: 90%;
    /* Adjust based on your preference */
    top: 100%;
    /* Position it below the card */
    left: 50%;
    /* Center it */
    transform: translateX(-50%);
    /* Center alignment correction */
    background-color: white;
    /* Bubble background */
    border-radius: 8px;
    /* Rounded corners for the bubble */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Shadow for depth */
    padding: 15px;
    /* Padding inside the bubble */
    margin-top: 10px;
    z-index: 100;
    /* Space between card and bubble */
    font-size: large;
}

.dropdown-container:hover .dropdown-content {
    display: block;
}

.arrow {
    width: 100%;
    margin: 0;
    background: var(--orange);
    position: relative;
    overflow: hidden;
    display: flex;
    /* Make the .arrow a flex container */
    justify-content: center;
    /* Center the content horizontally */
    align-items: center;
    border: none;
    /* Center the content vertically */
    /* Other properties remain unchanged */
    transition: background 0.1s linear;

    &:hover {
        background: #d25400; /* darker orange; didnt let me use darken() */
    }

    &.arrow-active {
        cursor: default; /* no pointer cursor when already selected */
    }

    &.disabled {
        pointer-events: none;
        background-color: #aaa;
    }
}

.arrow:not(.arrow-active):hover { /* if not selected, darken background */
    background-color: #d25400;
}

.arrow::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #0191F1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 1s ease-out;
    /* Slower transition for color fill */
    z-index: -1;
}

.arrow-active::before {
    transform: scaleX(1);
}

.arrow h4 {
    color: white;
    /* Ensure text is above the pseudo-element */
    z-index: 1;
    margin: 0;
    padding: 1%;
    /* Ensure no default margin disrupts the centering */
}

.arrow i {
    transition: transform 0.5s ease;
    /* Transition for arrow rotation */
}

.arrow-active i {
    transform: rotate(180deg);
    /* Rotate arrow when active */
}

.arrow-active {
    background-color: #0191F1 !important;
}