/* Dropdown container */
.dropdown-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin: 20px;
    max-width: 250px;
}

/* Label styling */
.dropdown-label {
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    animation: pulseText 2s infinite; /* Old pulse animation for the label */
}

/* Label animation */
@keyframes pulseText {
    0%, 100% {
        color: #0e87f9;
    }
    50% {
        color: #1fb0ff; /* Brighter pulse color */
    }
}

/* Dropdown wrapper */
.dropdown-wrapper {
    position: relative;
    width: 100%;
}

/* Dropdown styling */
.dropdown {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 12px; /* Modern rounding */
    background-color: #1e2128;
    font-size: 14px;
    font-weight: bold;
    color: #0e87f9;
    cursor: pointer;
    outline: none;
    transition: all 0.4s ease; /* Smooth hover and focus transitions */
    box-shadow: 0 5px 15px rgba(14, 135, 249, 0.4); /* Glow effect */
    transform-origin: top center; /* Anchor for animations */
    animation: dropdownAppear 0.8s ease; /* Drop-in animation */
}

/* Dropdown hover effect */
.dropdown:hover {
    background-color: #1f252e;
    box-shadow: 0 5px 20px rgba(14, 135, 249, 0.6); /* Enhanced glow */
}


/* Hover effect for options */
.dropdown option:hover {
    background-color: #0e87f9;
    color: #ffffff;
}

/* Dropdown appear animation */
@keyframes dropdownAppear {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-20px); /* Shrink and slide in from above */
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0); /* Settle to its normal size */
    }
}

[data-key] {
    transition: opacity 0.6s ease;
}