/* -- DROPDOWN -------------------------------------------------- */

.ti-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background-color: var(--ti-ldm-color-surface);
    border: var(--ti-ldm-border);
    border-radius: var(--ti-border-radius-sm);
    padding: 10px;
    box-shadow: var(--ti-box-shadow);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.ti-dropdown--up {
    top: auto;
    bottom: calc(100% + 10px);
}

.ti-dropdown-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border: none;
    background: none;
    border-radius: var(--ti-border-radius-sm);
    font-size: var(--ti-font-size);
    color: var(--ti-ldm-color-black-white);
    cursor: pointer;
    text-decoration: none;
    width: 100%;
    text-align: left;
}

.ti-dropdown-option:hover:not(:disabled) {
    background-color: var(--ti-ldm-color-hover);
}

.ti-dropdown-option i {
    font-size: 16px;
    flex-shrink: 0;
}

.ti-dropdown-option--choice::before {
    content: '\f111';
    color: var(--ti-ldm-color-border);
    font-family: 'Font Awesome 7 Free';
    font-weight: 400;
    background-color: var(--ti-ldm-color-surface);
    border-radius: 50%;
    width: 12px;
    height: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.ti-dropdown-option--active {
    background-color: var(--ti-ldm-color-hover);
    font-weight: 600;
}

.ti-dropdown-option--active::before {
    content: '\f058';
    color: var(--ti-color-green-light);
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    background-color: var(--ti-color-white);
    border-radius: 50%;
    width: 12px;
    height: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ti-dropdown-option--copied {
    color: var(--ti-color-green-light);
}
