/* Created by Content Blocks */

/* Custom Dropdown Styles */
.custom-dropdown {
    position: relative;
    width: 100%;
    cursor: pointer;
    z-index: 1000;
    user-select: none;
}

.custom-dropdown:before {
    content: '\F282';
    font-family: 'bootstrap-icons';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 30px;
    pointer-events: none;
    z-index: 1000;
}

.custom-dropdown.open:before {
    content: '\F286';
}

.custom-dropdown .dropdown-selected {
    position: relative;
    z-index: 2;
    height: var(--navbar-height);
    padding: var(--dist-10, 10px) var(--dist-40, 40px);
    background-color: #ffffff;
    border-radius: 999px;
    box-shadow: var(--box-shadow, 0 2px 8px rgba(0, 0, 0, 0.1));
}

.custom-dropdown .dropdown-options {
    position: absolute;
    top: calc(100% - 40px);
    left: 0;
    z-index: 1;
    width: 100%;
    max-height: 0;
    padding: 0;
    overflow-y: auto;
    overflow-x: hidden;
    background: white;
    border-radius: 20px;
    color: var(--blue, #007bff);
    box-shadow: var(--box-shadow, 0 2px 8px rgba(0, 0, 0, 0.1));
    opacity: 0;
    transition: var(--transition, all 0.3s ease);
}

.custom-dropdown .dropdown-options.show {
    max-height: 500px;
    padding-top: 40px;
    opacity: 1;
}

.custom-dropdown .dropdown-option {
    padding: 8px 20px;
    display: block;
    text-decoration: none;
    color: inherit;

    padding-left: 40px;

    white-space: nowrap;

    text-align: left;
}

.custom-dropdown .dropdown-option:hover {
    background: #f5f5f5;
}

.custom-dropdown .dropdown-option.selected {
    color: var(--primary, #007bff) !important;
}